diff options
author | Renato Botelho <renato@netgate.com> | 2016-11-24 07:27:25 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-11-24 07:27:37 -0200 |
commit | f36bab4274babf920ffd75839c89cffd86216f50 (patch) | |
tree | 7ebdf110c80a83727768e8443d57301687a6c242 | |
parent | 1b3cb4ca87c36035550d39ad8dae9921d94b7e8f (diff) | |
download | FreeBSD-src-f36bab4274babf920ffd75839c89cffd86216f50.zip FreeBSD-src-f36bab4274babf920ffd75839c89cffd86216f50.tar.gz |
Remove Live CD option from installer, fixes #6959
-rwxr-xr-x | release/rc.local | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/release/rc.local b/release/rc.local index 10534ae..3419c60 100755 --- a/release/rc.local +++ b/release/rc.local @@ -72,7 +72,7 @@ if [ -f /etc/installerconfig ]; then exit fi -dialog --backtitle "pfSense Installer" --title "Welcome" --extra-button --extra-label "Shell" --ok-label "Install" --cancel-label "Live CD" --yesno "Welcome to pfSense! Would you like to begin an installation or use the live CD?" 0 0 +dialog --backtitle "pfSense Installer" --title "Welcome" --ok-label "Install" --cancel-label "Rescue Shell" --yesno "Welcome to pfSense! Would you like to begin an installation or use the Rescue Shell?" 0 0 case $? in $DIALOG_OK) # Install @@ -85,15 +85,12 @@ $DIALOG_OK) # Install trap true SIGINT # Ignore cntrl-C here bsdinstall if [ $? -eq 0 ]; then - dialog --backtitle "pfSense Installer" --title "Complete" --yes-label "Reboot" --no-label "Live CD" --yesno "Installation of pfSense complete! Would you like to reboot into the installed system now?" 0 0 && reboot + dialog --backtitle "pfSense Installer" --title "Complete" --yes-label "Reboot" --no-label "Shell" --yesno "Installation of pfSense complete! Would you like to reboot into the installed system now?" 0 0 && reboot else . /etc/rc.local fi ;; -$DIALOG_CANCEL) # Live CD - exit 0 - ;; -$DIALOG_EXTRA) # Shell +$DIALOG_CANCEL) # Rescue Shell clear echo "When finished, type 'exit' to return to the installer." /bin/sh |