[maemo-commits] [maemo-commits] r17170 - in projects/haf/trunk/ke-recv: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jan 14 12:59:11 EET 2009
Author: kihamala
Date: 2009-01-14 12:59:10 +0200 (Wed, 14 Jan 2009)
New Revision: 17170

Modified:
   projects/haf/trunk/ke-recv/debian/changelog
   projects/haf/trunk/ke-recv/src/pcsuite-enable.sh
Log:
allow not-running obexd when enabling pcsuite


Modified: projects/haf/trunk/ke-recv/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv/debian/changelog	2009-01-14 10:28:34 UTC (rev 17169)
+++ projects/haf/trunk/ke-recv/debian/changelog	2009-01-14 10:59:10 UTC (rev 17170)
@@ -1,3 +1,9 @@
+ke-recv (3.6-1) unstable; urgency=low
+
+  * Do not give up if obexd is not running.
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Wed, 14 Jan 2009 12:55:15 +0200
+
 ke-recv (3.5-1) unstable; urgency=low
 
   * Fourth partition is now FAT (fallback is the first partition).

Modified: projects/haf/trunk/ke-recv/src/pcsuite-enable.sh
===================================================================
--- projects/haf/trunk/ke-recv/src/pcsuite-enable.sh	2009-01-14 10:28:34 UTC (rev 17169)
+++ projects/haf/trunk/ke-recv/src/pcsuite-enable.sh	2009-01-14 10:59:10 UTC (rev 17170)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # This file is part of ke-recv
 #
-# Copyright (C) 2008 Nokia Corporation. All rights reserved.
+# Copyright (C) 2008-2009 Nokia Corporation. All rights reserved.
 #
 # Contact: Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>
 #
@@ -43,8 +43,9 @@
 
 OBEXD_PID=`pidof obexd`
 if [ $? != 0 ]; then
-    echo "$0: failed to get obexd's PID"
-    exit 1
+    echo "$0: obexd is not running"
+else
+    kill -USR1 $OBEXD_PID
 fi
 
 SYNCD_PID=`pidof syncd`
@@ -53,7 +54,6 @@
     exit 1
 fi
 
-kill -USR1 $OBEXD_PID
 kill -USR1 $SYNCD_PID
 
 exit 0


More information about the maemo-commits mailing list