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:
@@ -117,8 +117,8 @@ if [ "$SAFEMODE" != "yes" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Now ask the user if he wants to run the Installer or continue to the Desktop.
|
# Now ask the user if he wants to run the Installer or continue to the Desktop.
|
||||||
freshInstallIndicator=/boot/common/settings/fresh_install
|
localeSettings=/boot/home/config/settings/Locale\ settings
|
||||||
if [ "$isReadOnly" = "yes" -o -e $freshInstallIndicator ]; then
|
if [ "$isReadOnly" = "yes" -o ! -e "$localeSettings" ]; then
|
||||||
/bin/FirstBootPrompt
|
/bin/FirstBootPrompt
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
launchscript $SCRIPTS/Bootscript.cd
|
launchscript $SCRIPTS/Bootscript.cd
|
||||||
@@ -190,6 +190,7 @@ if [ "$SAFEMODE" != "yes" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for fresh install and run post install scripts.
|
# Check for fresh install and run post install scripts.
|
||||||
|
freshInstallIndicator=/boot/common/settings/fresh_install
|
||||||
postInstallDir=/boot/common/boot/post_install
|
postInstallDir=/boot/common/boot/post_install
|
||||||
if [ -e $freshInstallIndicator ]; then
|
if [ -e $freshInstallIndicator ]; then
|
||||||
# wait a moment for things to calm down a bit
|
# wait a moment for things to calm down a bit
|
||||||
|
|||||||
Reference in New Issue
Block a user