diff options
author | Bill Marquette <billm@pfsense.org> | 2008-09-07 03:45:32 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2008-09-07 03:45:32 +0000 |
commit | 5bc3bf281174b4e38c450fc0cd8ca1ce0230adfb (patch) | |
tree | 7bb213457877e4478b1a2bc7b86a625d579168f3 /usr | |
parent | d8e60e2d404990e674d909f0d06ed9a20d0f00a3 (diff) | |
download | pfsense-5bc3bf281174b4e38c450fc0cd8ca1ce0230adfb.zip pfsense-5bc3bf281174b4e38c450fc0cd8ca1ce0230adfb.tar.gz |
uncomment the commented out functionality that actually restarts sshd
when it's enabled
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/system_advanced_admin.php | 4 |
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']; |