summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-31 05:45:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-31 05:45:00 +0000
commitf6efd9a574d363736e1392b349a84205f77a4735 (patch)
treec14a08e03dda1d049a89b9710abd1b94a9d60e38 /usr/local/www/system_advanced.php
parentc394a5d18df7742c5aa20318ff27e3f4acb6b6ae (diff)
downloadpfsense-f6efd9a574d363736e1392b349a84205f77a4735.zip
pfsense-f6efd9a574d363736e1392b349a84205f77a4735.tar.gz
Write out posted sshenabled value
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 9fd2f1d..376f336 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -152,6 +152,12 @@ if ($_POST) {
$config['system']['schedulertype'] = $_POST['schedulertype'];
$config['system']['maximumstates'] = $_POST['maximumstates'];
+ if($_POST['sshenabled'] == "yes") {
+ $config['system']['sshenabled'] = $_POST['sshenabled'];
+ } else {
+ unset($config['system']['sshenabled']);
+ }
+
$config['ipsec']['preferoldsa'] = $_POST['preferoldsa_enable'] ? true : false;
/* pfSense themes */
OpenPOWER on IntegriCloud