mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
uncomment the commented out functionality that actually restarts sshd
when it's enabled
This commit is contained in:
parent
d8e60e2d40
commit
5bc3bf2811
@ -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'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user