netatalk
#!/bin/sh # # /etc/rc.d/netatalk: start/stop afp daemon # case $1 in start) /usr/sbin/afpd ;; stop) killall -q /usr/sbin/afpd ;; restart) $0 stop sleep 2 $0 start ;; *) echo "usage: $0 [start|stop|restart]" ;; esac # End of file
“Blog, code, and fun”
#!/bin/sh # # /etc/rc.d/netatalk: start/stop afp daemon # case $1 in start) /usr/sbin/afpd ;; stop) killall -q /usr/sbin/afpd ;; restart) $0 stop sleep 2 $0 start ;; *) echo "usage: $0 [start|stop|restart]" ;; esac # End of file