python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / ptpd2 / S65ptpd2
blobf815cb5a7b93a3fd35c6d1aef8c497ae23e109c9
1 #!/bin/sh
3 # Start ptpd2
6 case "$1" in
7 start)
8 printf "Starting ptpd2: "
9 start-stop-daemon -S -q -x /usr/sbin/ptpd2 -- -g
10 if [ $? != 0 ]; then
11 echo "FAILED"
12 exit 1
13 else
14 echo "OK"
17 stop)
18 printf "Stopping ptpd2: "
19 start-stop-daemon -K -q -x /usr/sbin/ptpd2
20 echo "OK"
22 restart|reload)
25 echo "Usage: $0 {start|stop|restart}"
26 exit 1
27 esac
29 exit $?