[oe-commits] Martin Jansa : connman: drop initscript file used by SHR

git version control git at git.openembedded.org
Sat Sep 17 09:46:19 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: 08f92d7a3746145bbd529b18d94f3da1bc4dec22
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=08f92d7a3746145bbd529b18d94f3da1bc4dec22

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Sep  6 21:25:59 2011 +0200

connman: drop initscript file used by SHR

* moved to meta-shr

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../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 708b1b4..0000000
--- a/meta-oe/recipes-connectivity/connman/connman/shr/connman
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-DAEMON="/usr/sbin/connmand -I usb0"
-PIDFILE=/var/run/connmand.pid
-DESC="Connection Manager"
-
-if [ -f /etc/default/connman ] ; then
-	. /etc/default/connman
-fi
-
-set -e
-
-do_start() {
-	$DAEMON
-}
-
-do_stop() {
-	start-stop-daemon --stop --name connmand --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





More information about the Openembedded-commits mailing list