Commit c2933dc2 authored by Ad Schellevis's avatar Ad Schellevis
parent ffbbd11e
[restart]
command:/usr/local/etc/rc.restart_webgui
parameters:%s
type:script
message:starting web configurator
......@@ -253,7 +253,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if ($config['system']['ssh']['enabled']) {
log_error(gettext("secure shell configuration has changed. Restarting sshd."));
configd_run("sshd restart", true);
mwexec_bg('/usr/local/etc/rc.restart_webgui 2');
}
}
if ($restart_webgui) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment