1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#!/bin/sh # # $FreeBSD$ # # OpenSLP daemon. # if ! test -x %%PREFIX%%/sbin/slpd then # exit 0 fi case $1 in start) echo -n ' slpd' %%PREFIX%%/sbin/slpd ;; stop) killall slpd ;; *) echo "Usage: $0: [ start | stop ]" 2>&1 exit 65 ;; esac