summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-22 00:35:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-22 00:35:56 +0000
commit069f9baee01515af8ba296f9cf280b7afcda55ab (patch)
tree919b3f952283dac16c38c4ced5263f7403dd4960 /etc/rc.initial
parent08cf5428d6fa7d080869574cee0f22e669b8db03 (diff)
downloadpfsense-069f9baee01515af8ba296f9cf280b7afcda55ab.zip
pfsense-069f9baee01515af8ba296f9cf280b7afcda55ab.tar.gz
Adding script to allow enabling / disabling of SSHD from console menu.
Diffstat (limited to 'etc/rc.initial')
-rwxr-xr-xetc/rc.initial6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index 48764bb..4c1ef9a 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -78,6 +78,7 @@ echo "10) Filter Logs"
echo "11) Restart webConfigurator"
echo "12) pfSense PHP shell"
echo "13) Upgrade from console"
+echo "14) Enable/Disable SSHD"
for i in /var/db/pfi/capable_*; do
if [ -f $i -a ! -L /cf/conf ]; then
echo "98) Move configuration file to removable device"
@@ -138,7 +139,10 @@ case ${opmode} in
13)
php -f /etc/rc.initial.firmware_update
;;
-14)
+14)
+ php -f /etc/rc.initial.toggle_sshd
+ ;;
+15)
/etc/rc.banner
;;
98)
OpenPOWER on IntegriCloud