[maemo-commits] [maemo-commits] r19255 - projects/haf/trunk/hildon-welcome/data
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Aug 31 10:39:09 EEST 2009
- Previous message: [maemo-commits] r19254 - projects/haf/tags/hildon-welcome
- Next message: [maemo-commits] r19256 - projects/haf/tags/hildon-welcome
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [maemo-commits] r19254 - projects/haf/tags/hildon-welcome
- Next message: [maemo-commits] r19256 - projects/haf/tags/hildon-welcome
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]