mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Hand off starting SSHD to our background daemon
This commit is contained in:
parent
a5a0c4c777
commit
34441bfa3c
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user