sysklogd: fix build on musl
[buildroot-gz.git] / package / netatalk / S50netatalk
blob287b20d7741ce41b757d935ee202f70512f7e3b4
1 #!/bin/sh
3 # Start netatalk
6 start() {
7 echo "Starting Netatalk"
8 start-stop-daemon -S -q -p /var/run/netatalk.pid --exec /usr/sbin/netatalk
11 stop(){
12 echo "Stopping Netatalk"
13 start-stop-daemon -K -q -p /var/run/netatalk.pid
16 case "$1" in
17 start)
18 start
20 stop)
21 stop
23 restart)
24 start
25 stop
28 echo "Usage: $0 {start|stop|restart}"
29 exit 1
30 esac
32 exit $?