opentapi: start up real early to initialize the BP properly to stop the phone shuttin...
authorDaniel Willmann <daniel@totalueberwachung.de>
Fri, 2 Mar 2007 10:15:21 +0000 (10:15 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 2 Mar 2007 10:15:21 +0000 (10:15 +0000)
packages/ezx/opentapi/opentapi.init
packages/ezx/opentapi_svn.bb

index 593411e..0b41418 100644 (file)
@@ -37,8 +37,10 @@ start_it_up()
   fi
 
   echo -n "Starting $DESC: "
-  start-stop-daemon --start --quiet --pidfile $PIDFILE \
+  start-stop-daemon --start --background --quiet --pidfile $PIDFILE \
     --exec $DAEMON -- --system $PARAMS
+  # We need to sleep here because opening the mux devices takes some time
+  sleep 15
   echo "$NAME."
   if [ -d $EVENTDIR ]; then
       run-parts --arg=start $EVENTDIR
index a5abe7d..e27b2fb 100644 (file)
@@ -1,8 +1,10 @@
-DESCRIPTION = "Open implementation of motorola's tapisrc"
+DESCRIPTION = "Open implementation of motorola's tapisrv"
 LICENSE = "GPLv2"
+SECTION = "devel"
+AUTHOR = "Daniel Willmann"
 
 PV = "0.0+svn${SRCDATE}"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "svn://svn.openezx.org/trunk/src/userspace/;module=opentapi;proto=http \
            file://opentapi.init \
@@ -11,7 +13,7 @@ SRC_URI = "svn://svn.openezx.org/trunk/src/userspace/;module=opentapi;proto=http
 inherit update-rc.d
 
 INITSCRIPT_NAME = "opentapi"
-INITSCRIPT_PARAMS = "start 04 S ."
+INITSCRIPT_PARAMS = "start 00 S ."
 
 
 S = "${WORKDIR}/${PN}"