diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-01 23:06:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-01 23:06:18 +0000 |
commit | 59d09874f9b55f761efa5418b36d0930a2cf57cd (patch) | |
tree | d033b0ab855d9cc0661fa5e0c3e29876771379f0 /usr/local/www | |
parent | 3a32590b7f5d95653fd2e6e027c24fc57bfb95dc (diff) | |
download | pfsense-59d09874f9b55f761efa5418b36d0930a2cf57cd.zip pfsense-59d09874f9b55f761efa5418b36d0930a2cf57cd.tar.gz |
Use enablesshd tag
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/system_advanced.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index ba34d68..a24778d 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -52,7 +52,7 @@ $pconfig['disablerendevouz'] = $config['system']['disablerendevouz']; $pconfig['enableserial'] = $config['system']['enableserial']; $pconfig['disablefirmwarecheck'] = isset($config['system']['disablefirmwarecheck']); $pconfig['preferoldsa_enable'] = isset($config['ipsec']['preferoldsa']); -$pconfig['sshenabled'] = $config['system']['sshenabled']; +$pconfig['enablesshd'] = $config['system']['enablesshd']; if ($_POST) { @@ -91,10 +91,10 @@ if ($_POST) { } else { unset($config['system']['disablefilter']); } - if($_POST['sshenabled'] == "yes") { - $config['system']['sshenabled'] = "enabled"; + if($_POST['enablesshd'] == "yes") { + $config['system']['enablesshd'] = "enabled"; } else { - unset($config['system']['sshenabled']); + unset($config['system']['enablesshd']); } if($_POST['disableftpproxy'] == "yes") { $config['system']['disableftpproxy'] = "enabled"; @@ -152,10 +152,10 @@ if ($_POST) { $config['system']['schedulertype'] = $_POST['schedulertype']; $config['system']['maximumstates'] = $_POST['maximumstates']; - if($_POST['sshenabled'] == "yes") { - $config['system']['sshenabled'] = $_POST['sshenabled']; + if($_POST['enablesshd'] == "yes") { + $config['system']['enablesshd'] = $_POST['enablesshd']; } else { - unset($config['system']['sshenabled']); + unset($config['system']['enablesshd']); } $config['ipsec']['preferoldsa'] = $_POST['preferoldsa_enable'] ? true : false; @@ -292,7 +292,7 @@ function openwindow(url) { <tr> <td width="22%" valign="top" class="vncell"> </td> <td width="78%" class="vtable"> - <input name="sshenabled" type="checkbox" id="sshenabled" value="yes" <?php if (isset($pconfig['sshenabled'])) echo "checked"; ?> onclick="enable_change(false)"> + <input name="enablesshd" type="checkbox" id="enablesshd" value="yes" <?php if (isset($pconfig['enablesshd'])) echo "checked"; ?> onclick="enable_change(false)"> <strong>Enable Secure Shell</strong> </td> </tr> |