python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / lldpd / S60lldpd
blob3dfa6c1aa1413ed28ef3283352df5aee0cb01fa4
1 #!/bin/sh
3 # Controls lldpd.
6 case $1 in
7 start)
8 printf "Starting lldpd: "
9 start-stop-daemon -S -q -p /var/run/lldpd.pid --exec /usr/sbin/lldpd
10 [ $? = 0 ] && echo "OK" || echo "FAIL"
12 stop)
13 printf "Stopping lldpd: "
14 start-stop-daemon -K -q -p /var/run/lldpd.pid
15 [ $? = 0 ] && echo "OK" || echo "FAIL"
17 restart)
18 $0 stop
19 $0 start
22 echo "Usage: $0 {start|stop|restart}"
23 exit 1
25 esac