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"
13 printf "Stopping lldpd: "
14 start-stop-daemon
-K -q -p /var
/run
/lldpd.pid
15 [ $?
= 0 ] && echo "OK" ||
echo "FAIL"
22 echo "Usage: $0 {start|stop|restart}"