summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-23 12:31:04 -0200
committerRenato Botelho <renato@netgate.com>2017-01-23 12:31:37 -0200
commitac4b1285e0aabc7a59f32412b4f2ca7674c5458f (patch)
treeb59d0f80f10b2fe1507ee857d69117d7efbce871
parent783330d0bf89d2d888afcb450e754a311777a8a8 (diff)
downloadFreeBSD-src-ac4b1285e0aabc7a59f32412b4f2ca7674c5458f.zip
FreeBSD-src-ac4b1285e0aabc7a59f32412b4f2ca7674c5458f.tar.gz
Fix #7150: Open a shell after install without ask for login and then reboot
-rwxr-xr-xrelease/rc.local4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/rc.local b/release/rc.local
index f92bc9b..27b670f 100755
--- a/release/rc.local
+++ b/release/rc.local
@@ -86,6 +86,10 @@ $DIALOG_OK) # Install
bsdinstall
if [ $? -eq 0 ]; then
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
+ clear
+ echo "When finished, type 'exit' to reboot."
+ /bin/sh
+ reboot
else
. /etc/rc.local
fi
OpenPOWER on IntegriCloud