From 759e46ea2cb0c12216360beb4e576a0f46d93eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 5 Jun 2009 15:59:21 +0000 Subject: [PATCH] * Improved variable naming. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30976 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- data/system/boot/Bootscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/system/boot/Bootscript b/data/system/boot/Bootscript index ee14400c0d..d55a849af4 100644 --- a/data/system/boot/Bootscript +++ b/data/system/boot/Bootscript @@ -70,8 +70,8 @@ export SAFEMODE=`/bin/safemode` launchscript $SCRIPTS/SetupEnvironment # If the boot volume is a CD we use another script -iw=`/bin/isvolume -readonly-partition /boot` -if [ "$iw" = "yes" ]; then +isReadOnly=`/bin/isvolume -readonly-partition /boot` +if [ "$isReadOnly" = "yes" ]; then # block the CD tray (avoid accidental ejection) # This option stays 'on' even if we continue booting to the desktop. /bin/eject -b /boot @@ -105,7 +105,7 @@ if [ "$SAFEMODE" != "yes" ]; then fi # Now ask the user if he wants to run the Installer or continue to the Desktop. -if [ "$iw" = "yes" ]; then +if [ "$isReadOnly" = "yes" ]; then /bin/alert "Do you wish to run the Installer or continue booting to the Desktop?" "Installer" "Desktop" if [ $? -eq 0 ]; then launchscript $SCRIPTS/Bootscript.cd