diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-09-06 21:25:59 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-09-17 11:17:40 +0200 |
commit | 08f92d7a3746145bbd529b18d94f3da1bc4dec22 (patch) | |
tree | 14d89e083900fdc2c85e688c1a08de6576afaee8 /meta-oe/recipes-connectivity/connman | |
parent | 3f546ada2c5baeea4d0fe6d4dd73797cdefa73da (diff) | |
download | meta-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/recipes-connectivity/connman')
-rwxr-xr-x | meta-oe/recipes-connectivity/connman/connman/shr/connman | 42 |
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 | |||
3 | DAEMON="/usr/sbin/connmand -I usb0" | ||
4 | PIDFILE=/var/run/connmand.pid | ||
5 | DESC="Connection Manager" | ||
6 | |||
7 | if [ -f /etc/default/connman ] ; then | ||
8 | . /etc/default/connman | ||
9 | fi | ||
10 | |||
11 | set -e | ||
12 | |||
13 | do_start() { | ||
14 | $DAEMON | ||
15 | } | ||
16 | |||
17 | do_stop() { | ||
18 | start-stop-daemon --stop --name connmand --quiet | ||
19 | } | ||
20 | |||
21 | case "$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 | ;; | ||
40 | esac | ||
41 | |||
42 | exit 0 | ||