summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.initial
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-12-29 11:04:15 -0500
committerjim-p <jimp@pfsense.org>2016-12-29 11:04:15 -0500
commita1035bd86c368e37adabc069da9793ee9c5b3c77 (patch)
tree0d39075812a1b9c3e048869434a523c373644572 /src/etc/rc.initial
parent387dbe43774028de7f82389a90ae6944d661a96e (diff)
downloadpfsense-a1035bd86c368e37adabc069da9793ee9c5b3c77.zip
pfsense-a1035bd86c368e37adabc069da9793ee9c5b3c77.tar.gz
Remove obsolete console menu option that was a remnant of the livecd which was removed some time ago.
Diffstat (limited to 'src/etc/rc.initial')
-rwxr-xr-xsrc/etc/rc.initial13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/etc/rc.initial b/src/etc/rc.initial
index ef90e28..e7b598a 100755
--- a/src/etc/rc.initial
+++ b/src/etc/rc.initial
@@ -78,13 +78,6 @@ else
sshd_option="14) Enable Secure Shell (sshd)";
fi
-for i in /var/db/pfi/capable_*; do
- if [ -f $i -a ! -L /cf/conf ]; then
- option98="98) Move configuration file to removable device"
- break
- fi
-done
-
# display a cheap menu
echo ""
echo " 0) Logout (SSH only) 9) pfTop"
@@ -96,7 +89,6 @@ echo " 5) Reboot system ${sshd_option}"
echo " 6) Halt system 15) Restore recent configuration"
echo " 7) Ping host 16) Restart PHP-FPM"
echo " 8) Shell"
-echo " ${option98} "
echo
read -p "Enter an option: " opmode
@@ -155,11 +147,6 @@ case ${opmode} in
16)
/etc/rc.php-fpm_restart
;;
-98)
- if [ ! -f /tmp/config_moved ]; then
- /etc/rc.initial.store_config_to_removable_device
- fi
- ;;
100)
if grep "$WORD" "$CONFIG"; then
links "https://localhost"
OpenPOWER on IntegriCloud