package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / ofono / S46ofono
blob7eb2fca3b8c59d8c17b65fe59bc2e36b6e0dd860
1 #!/bin/sh
3 case "$1" in
4 start)
5 printf "Starting ofono ... "
6 start-stop-daemon -S -q -m -b -p /var/run/ofonod.pid --exec /usr/sbin/ofonod -- -n
7 echo "done."
8 ;;
9 stop)
10 printf "Stopping ofono ..."
11 start-stop-daemon -K -q -p /var/run/ofonod.pid
12 echo "done."
14 restart)
15 $0 stop
16 sleep 1
17 $0 start
20 echo "usage: $0 {start|stop|restart}"
22 esac