summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_admin.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-09-07 03:45:32 +0000
committerBill Marquette <billm@pfsense.org>2008-09-07 03:45:32 +0000
commit5bc3bf281174b4e38c450fc0cd8ca1ce0230adfb (patch)
tree7bb213457877e4478b1a2bc7b86a625d579168f3 /usr/local/www/system_advanced_admin.php
parentd8e60e2d404990e674d909f0d06ed9a20d0f00a3 (diff)
downloadpfsense-5bc3bf281174b4e38c450fc0cd8ca1ce0230adfb.zip
pfsense-5bc3bf281174b4e38c450fc0cd8ca1ce0230adfb.tar.gz
uncomment the commented out functionality that actually restarts sshd
when it's enabled
Diffstat (limited to 'usr/local/www/system_advanced_admin.php')
-rw-r--r--usr/local/www/system_advanced_admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php
index 821fc60..211eca4 100644
--- a/usr/local/www/system_advanced_admin.php
+++ b/usr/local/www/system_advanced_admin.php
@@ -108,10 +108,10 @@ if ($_POST) {
if($_POST['enablesshd'] == "yes") {
$config['system']['enablesshd'] = "enabled";
-// touch("{$g['tmp_path']}/start_sshd");
+ touch("{$g['tmp_path']}/start_sshd");
} else {
unset($config['system']['enablesshd']);
-// mwexec("/usr/bin/killall sshd");
+ mwexec("/usr/bin/killall sshd");
}
$oldsshport = $config['system']['ssh']['port'];
OpenPOWER on IntegriCloud