From 50225a4335779b43084a37fa1cf4d220f9a9ecbd Mon Sep 17 00:00:00 2001
From: Yourself <user@shredder.d-rendszer.hu>
Date: Thu, 29 Nov 2012 10:43:52 +0100
Subject: [PATCH] Start the ReadOnlyBootPrompt when boot from USB drive too if
there is no Locale settings present.
---
data/system/boot/Bootscript | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/data/system/boot/Bootscript b/data/system/boot/Bootscript
index 3a52cb2..8bea49d 100644
a
|
b
|
fi
|
118 | 118 | |
119 | 119 | # Now ask the user if he wants to run the Installer or continue to the Desktop. |
120 | 120 | if [ "$isReadOnly" = "yes" ]; then |
121 | | # Create Installer link (using the write overlay) |
122 | | ln -sf /boot/system/apps/Installer /boot/home/Desktop/Installer |
123 | | |
124 | | /bin/ReadOnlyBootPrompt |
125 | | if [ $? -eq 0 ]; then |
126 | | launchscript $SCRIPTS/Bootscript.cd |
127 | | exit 0 # and return |
128 | | fi |
| 121 | # Create Installer link (using the write overlay) |
| 122 | ln -sf /boot/system/apps/Installer /boot/home/Desktop/Installer |
| 123 | |
| 124 | /bin/ReadOnlyBootPrompt |
| 125 | if [ $? -eq 0 ]; then |
| 126 | launchscript $SCRIPTS/Bootscript.cd |
| 127 | exit 0 # and return |
| 128 | fi |
| 129 | else |
| 130 | if [ ! -f "/boot/home/config/settings/Locale settings" ]; then |
| 131 | ln -sf /boot/system/apps/Installer /boot/home/Desktop/Installer |
| 132 | |
| 133 | /bin/ReadOnlyBootPrompt |
| 134 | if [ $? -eq 0 ]; then |
| 135 | launchscript $SCRIPTS/Bootscript.cd |
| 136 | exit 0 # and return |
| 137 | fi |
| 138 | fi |
129 | 139 | fi |
130 | 140 | |
131 | | |
132 | 141 | if [ -e /etc/users ]; then |
133 | 142 | # TODO: system/Login needs to be fixed to launch the mount_server! |
134 | 143 | launch system/Login |