From 5bc3bf281174b4e38c450fc0cd8ca1ce0230adfb Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Sun, 7 Sep 2008 03:45:32 +0000 Subject: [PATCH] uncomment the commented out functionality that actually restarts sshd when it's enabled --- usr/local/www/system_advanced_admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php index 821fc60227..211eca4585 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'];