summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system_advanced_admin.php')
-rw-r--r--usr/local/www/system_advanced_admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php
index e7ae297..e7c217b 100644
--- a/usr/local/www/system_advanced_admin.php
+++ b/usr/local/www/system_advanced_admin.php
@@ -62,7 +62,7 @@ $pconfig['enablesshd'] = $config['system']['enablesshd'];
$pconfig['sshport'] = $config['system']['ssh']['port'];
$pconfig['sshdkeyonly'] = isset($config['system']['ssh']['sshdkeyonly']);
-$a_cert =& $config['system']['cert'];
+$a_cert =& $config['cert'];
$certs_available = false;
if (is_array($a_cert) && count($a_cert))
@@ -461,7 +461,7 @@ if ($restart_sshd) {
if ($config['system']['enablesshd']) {
log_error(gettext("secure shell configuration has changed. Restarting sshd."));
- touch("{$g['tmp_path']}/start_sshd");
+ send_event("service restart sshd");
}
}
if ($restart_webgui) {
OpenPOWER on IntegriCloud