Author: schulhof
Date: 2009-08-31 10:38:59 +0300 (Mon, 31 Aug 2009)
New Revision: 19255

Modified:
   projects/haf/trunk/hildon-welcome/data/10hildon_welcome
Log:
Re-doing tag

Modified: projects/haf/trunk/hildon-welcome/data/10hildon_welcome
===================================================================
--- projects/haf/trunk/hildon-welcome/data/10hildon_welcome     2009-08-31 
07:20:32 UTC (rev 19254)
+++ projects/haf/trunk/hildon-welcome/data/10hildon_welcome     2009-08-31 
07:38:59 UTC (rev 19255)
@@ -21,6 +21,12 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  
USA
 
-if test "x$(cat /proc/bootreason)" = "xpwr_key"; then
-  /usr/bin/hildon-welcome --gst-disable-registry-update &
-fi
+REASONS_TO_PLAY="pwr_key sw_rst"  
+BOOTREASON="$(cat /proc/bootreason)"
+
+for Nix in $REASONS_TO_PLAY; do
+  if test "x$BOOTREASON" = "x$Nix"; then
+    /usr/bin/hildon-welcome --gst-disable-registry-update &
+    break
+  fi
+done

_______________________________________________
maemo-commits mailing list
maemo-commits@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-commits

Reply via email to