[maemo-commits] [maemo-commits] r19155 - projects/haf/trunk/ke-recv/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Aug 19 15:04:44 EEST 2009
Author: kihamala
Date: 2009-08-19 15:04:37 +0300 (Wed, 19 Aug 2009)
New Revision: 19155

Modified:
   projects/haf/trunk/ke-recv/debian/init.d
Log:
insert g_nokia unless we're in ACT_DEAD


Modified: projects/haf/trunk/ke-recv/debian/init.d
===================================================================
--- projects/haf/trunk/ke-recv/debian/init.d	2009-08-19 11:57:07 UTC (rev 19154)
+++ projects/haf/trunk/ke-recv/debian/init.d	2009-08-19 12:04:37 UTC (rev 19155)
@@ -73,6 +73,12 @@
                 fi
         fi
 
+        STATE="x$(cat /tmp/STATE)x"
+        if [ $STATE != "xACT_DEADx" ]; then
+                # modprobe g_nokia by default, unless in ACT_DEAD
+                /usr/sbin/pcsuite-enable.sh
+        fi
+
 	if [ -x $DTOOL ]; then
         	$DTOOL -U $USER -n -1 -t $DAEMON
 	else

More information about the maemo-commits mailing list