debianutils: bump to version 4.8.1
[buildroot-gz.git] / package / connman / S45connman
blobd3d4bd5df4e35aed83ebd928cfba8b3d5868890b
1 #!/bin/sh
3 case "$1" in
4 start)
5 printf "Starting connman ... "
6 start-stop-daemon -S -q -m -b -p /var/run/connmand.pid --exec /usr/sbin/connmand -- -n
7 echo "done."
8 ;;
9 stop)
10 printf "Stopping connman ..."
11 start-stop-daemon -K -q -p /var/run/connmand.pid
12 echo "done."
14 restart)
15 $0 stop
16 sleep 1
17 $0 start
20 echo "usage: $0 {start|stop|restart}"
22 esac