uncomment the commented out functionality that actually restarts sshd

when it's enabled
This commit is contained in:
Bill Marquette 2008-09-07 03:45:32 +00:00
parent d8e60e2d40
commit 5bc3bf2811

View File

@ -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'];