summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-09-06 21:25:59 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-09-17 11:17:40 +0200
commit08f92d7a3746145bbd529b18d94f3da1bc4dec22 (patch)
tree14d89e083900fdc2c85e688c1a08de6576afaee8 /meta-oe
parent3f546ada2c5baeea4d0fe6d4dd73797cdefa73da (diff)
downloadmeta-openembedded-08f92d7a3746145bbd529b18d94f3da1bc4dec22.tar.gz
connman: drop initscript file used by SHR
* moved to meta-shr Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rwxr-xr-xmeta-oe/recipes-connectivity/connman/connman/shr/connman42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-oe/recipes-connectivity/connman/connman/shr/connman b/meta-oe/recipes-connectivity/connman/connman/shr/connman
deleted file mode 100755
index 708b1b4cd..000000000
--- a/meta-oe/recipes-connectivity/connman/connman/shr/connman
+++ /dev/null
@@ -1,42 +0,0 @@
1#!/bin/sh
2
3DAEMON="/usr/sbin/connmand -I usb0"
4PIDFILE=/var/run/connmand.pid
5DESC="Connection Manager"
6
7if [ -f /etc/default/connman ] ; then
8 . /etc/default/connman
9fi
10
11set -e
12
13do_start() {
14 $DAEMON
15}
16
17do_stop() {
18 start-stop-daemon --stop --name connmand --quiet
19}
20
21case "$1" in
22 start)
23 echo "Starting $DESC"
24 do_start
25 ;;
26 stop)
27 echo "Stopping $DESC"
28 do_stop
29 ;;
30 restart|force-reload)
31 echo "Restarting $DESC"
32 do_stop
33 sleep 1
34 do_start
35 ;;
36 *)
37 echo "Usage: $0 {start|stop|restart|force-reload}" >&2
38 exit 1
39 ;;
40esac
41
42exit 0