[meta-intel] [meta-intel-galileo] [PATCH 1/3] galileod.sh: do not kick off the sketch reset daemon
rebecca.swee.fun.chang at intel.com
rebecca.swee.fun.chang at intel.com
Thu Apr 30 04:32:09 PDT 2015
From: Josef Ahmad <josef.ahmad at intel.com>
The sketch reset daemon start will be moved to launcher.sh
Signed-off-by: Josef Ahmad <josef.ahmad at intel.com>
Reviewed-by: Ong Boon Leong <boon.leong.ong at intel.com>
Tested-by: Ong Boon Leong <boon.leong.ong at intel.com>
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang at intel.com>
---
recipes-core/initscripts/files/galileod.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/recipes-core/initscripts/files/galileod.sh b/recipes-core/initscripts/files/galileod.sh
index 447efe3..a3b97d0 100755
--- a/recipes-core/initscripts/files/galileod.sh
+++ b/recipes-core/initscripts/files/galileod.sh
@@ -1,9 +1,7 @@
#!/bin/sh
pidfile=/var/run/launcher.pid
-pidsreset=/var/run/sketch_reset.pid
launcher=/opt/cln/galileo/launcher.sh
-sreset=/opt/cln/galileo/galileo_sketch_reset
start_handler()
{
@@ -23,16 +21,13 @@ start_galileod()
{
echo "Starting galileod"
start-stop-daemon -q -S -m -p $pidfile -b -x $launcher
- start-stop-daemon -q -S -m -p $pidsreset -b -x $sreset
}
stop_handler()
{
echo "Stopping galileod"
start-stop-daemon -q -K -p $pidfile -s USR1
- start-stop-daemon -q -K -p $pidsreset
rm $pidfile -f
- rm $pidsreset -f
}
die()
--
1.9.1
More information about the meta-intel
mailing list