[maemo-commits] [maemo-commits] r14204 - in projects/haf/trunk/osso-app-killer: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Sep 28 17:46:56 EEST 2007
Author: kihamala
Date: 2007-09-28 17:46:54 +0300 (Fri, 28 Sep 2007)
New Revision: 14204

Modified:
   projects/haf/trunk/osso-app-killer/debian/changelog
   projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh
Log:
enabled formatting in rx-44


Modified: projects/haf/trunk/osso-app-killer/debian/changelog
===================================================================
--- projects/haf/trunk/osso-app-killer/debian/changelog	2007-09-28 14:43:04 UTC (rev 14203)
+++ projects/haf/trunk/osso-app-killer/debian/changelog	2007-09-28 14:46:54 UTC (rev 14204)
@@ -8,7 +8,7 @@
     is a subdirectory).
   * Added osso-clean-mmc.sh.
   * Added osso-app-killer.sudoers file with some new entries for formatting
-    a memory card (formatting not enabled yet).
+    a memory card.
 
  -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Mon, 24 Sep 2007 16:34:54 +0300
 

Modified: projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh
===================================================================
--- projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh	2007-09-28 14:43:04 UTC (rev 14203)
+++ projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh	2007-09-28 14:46:54 UTC (rev 14204)
@@ -49,6 +49,14 @@
   # Remove all user data
   CUD=foo /usr/sbin/gconf-clean.sh 
 
+  # possibly clear memory card
+  if [ -x /usr/bin/osso-product-info ]; then
+    HW=`/usr/bin/osso-product-info -qOSSO_PRODUCT_HARDWARE`
+    if [ "$HW" = 'RX-44' ]; then
+      /usr/sbin/osso-clean-mmc.sh
+    fi
+  fi
+
   OLDDIR=`pwd`
   if [ -d /home/user/.osso ]; then
     cd /home/user/.osso


More information about the maemo-commits mailing list