summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/recipes-connectivity/ofono/ofono/ofono
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-connectivity/ofono/ofono/ofono')
-rw-r--r--import-layers/yocto-poky/meta/recipes-connectivity/ofono/ofono/ofono42
1 files changed, 0 insertions, 42 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-connectivity/ofono/ofono/ofono b/import-layers/yocto-poky/meta/recipes-connectivity/ofono/ofono/ofono
deleted file mode 100644
index cc9970929..000000000
--- a/import-layers/yocto-poky/meta/recipes-connectivity/ofono/ofono/ofono
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-DAEMON=/usr/sbin/ofonod
-PIDFILE=/var/run/ofonod.pid
-DESC="Telephony daemon"
-
-if [ -f /etc/default/ofono ] ; then
- . /etc/default/ofono
-fi
-
-set -e
-
-do_start() {
- $DAEMON
-}
-
-do_stop() {
- start-stop-daemon --stop --name ofonod --quiet
-}
-
-case "$1" in
- start)
- echo "Starting $DESC"
- do_start
- ;;
- stop)
- echo "Stopping $DESC"
- do_stop
- ;;
- restart|force-reload)
- echo "Restarting $DESC"
- do_stop
- sleep 1
- do_start
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0
OpenPOWER on IntegriCloud