The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ofono / S46ofono
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/ofono/S46ofono b/cirros-testvm/src-cirros/buildroot-2015.05/package/ofono/S46ofono
new file mode 100755 (executable)
index 0000000..34d2b6a
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+case "$1" in
+       start)
+               echo -n "Starting ofono ... "
+               start-stop-daemon -S -q -m -b -p /var/run/ofonod.pid --exec /usr/sbin/ofonod -- -n
+               echo "done."
+               ;;
+       stop)
+               echo -n "Stopping ofono ..."
+               start-stop-daemon -K -q -p /var/run/ofonod.pid
+               echo "done."
+               ;;
+       restart)
+               $0 stop
+               sleep 1
+               $0 start
+               ;;
+       *)
+               echo "usage: $0 {start|stop|restart}"
+               ;;
+esac