[maemo-commits] [maemo-commits] r19022 - projects/haf/tags/ke-recv/3.19-5/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Aug 3 15:30:10 EEST 2009
Author: kihamala
Date: 2009-08-03 15:29:47 +0300 (Mon, 03 Aug 2009)
New Revision: 19022

Modified:
   projects/haf/tags/ke-recv/3.19-5/src/pcsuite-enable.sh
Log:
wait for all daemons, not just pnatd


Modified: projects/haf/tags/ke-recv/3.19-5/src/pcsuite-enable.sh
===================================================================
--- projects/haf/tags/ke-recv/3.19-5/src/pcsuite-enable.sh	2009-08-03 11:41:13 UTC (rev 19021)
+++ projects/haf/tags/ke-recv/3.19-5/src/pcsuite-enable.sh	2009-08-03 12:29:47 UTC (rev 19022)
@@ -41,12 +41,13 @@
 
 initctl emit --no-wait G_NOKIA_READY
 
-# Wait until pnatd is ready
+# Wait until daemons are up
 INC=1
-while [ "x$(pidof pnatd)x" = "xx" ]; do
+while [ "x$(pidof pnatd)x" = "xx" -o "x$(pidof obexd)x" = "xx" \
+       -o "x$(pidof syncd)x" = "xx" ]; do
     if [ $INC -gt 20 ]; then
-      echo "$0: Error, pnatd did not start"
-      logger "$0: Error, pnatd did not start"
+      echo "$0: Error, daemons did not start"
+      logger "$0: Error, daemons did not start"
       exit 1
     fi
     sleep 1

More information about the maemo-commits mailing list