Changed the logic for launching FirstBootPrompt.
Always launch on read only medium. Launch when the Locale settings file does not exist. Fixes #9427.
This commit is contained in:
parent
eede25d31f
commit
e4ba645c45
@ -117,8 +117,8 @@ if [ "$SAFEMODE" != "yes" ]; then
|
||||
fi
|
||||
|
||||
# Now ask the user if he wants to run the Installer or continue to the Desktop.
|
||||
freshInstallIndicator=/boot/common/settings/fresh_install
|
||||
if [ "$isReadOnly" = "yes" -o -e $freshInstallIndicator ]; then
|
||||
localeSettings=/boot/home/config/settings/Locale\ settings
|
||||
if [ "$isReadOnly" = "yes" -o ! -e "$localeSettings" ]; then
|
||||
/bin/FirstBootPrompt
|
||||
if [ $? -eq 0 ]; then
|
||||
launchscript $SCRIPTS/Bootscript.cd
|
||||
@ -190,6 +190,7 @@ if [ "$SAFEMODE" != "yes" ]; then
|
||||
fi
|
||||
|
||||
# Check for fresh install and run post install scripts.
|
||||
freshInstallIndicator=/boot/common/settings/fresh_install
|
||||
postInstallDir=/boot/common/boot/post_install
|
||||
if [ -e $freshInstallIndicator ]; then
|
||||
# wait a moment for things to calm down a bit
|
||||
|
Loading…
x
Reference in New Issue
Block a user