Hand off starting SSHD to our background daemon

This commit is contained in:
Scott Ullrich 2005-10-13 21:42:38 +00:00
parent a5a0c4c777
commit 34441bfa3c

View File

@ -105,6 +105,7 @@ if ($_POST) {
}
if($_POST['enablesshd'] == "yes") {
$config['system']['enablesshd'] = "enabled";
touch("{$g['tmp_path']}/tmp/start_sshd");
} else {
unset($config['system']['enablesshd']);
}
@ -225,8 +226,6 @@ if ($_POST) {
fclose($fout);
}
mwexec("/etc/sshd");
conf_mount_ro();
}
}