summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index fc6d5b5..352a32a 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -35,6 +35,7 @@ while : ; do
# display a cheap menu
echo "pfSense console setup"
echo "**********************"
+echo "0) Logout if accessing via SSH"
echo "1) Interfaces: assign network ports"
echo "2) Set up LAN IP address"
echo "3) Reset webGUI password"
@@ -49,6 +50,9 @@ read -p "Enter a number: " opmode
# see what the user has chosen
case ${opmode} in
+0)
+ exit && exit && logout
+ ;;
1)
/etc/rc.initial.setports
;;
OpenPOWER on IntegriCloud