summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/system_advanced.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 5f9c29a..428f8b0 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -154,11 +154,12 @@ if ($_POST) {
if (($config['system']['webgui']['certificate'] != $oldcert)
|| ($config['system']['webgui']['private-key'] != $oldkey)) {
- touch($d_sysrebootreqd_path);
+// touch($d_sysrebootreqd_path);
+ system_webgui_start();
} else if (($g['platform'] == "generic-pc") && ($config['system']['harddiskstandby'] != $oldharddiskstandby)) {
if (!$config['system']['harddiskstandby']) {
// Reboot needed to deactivate standby due to a stupid ATA-protocol
- Touch($d_sysrebootreqd_path);
+ touch($d_sysrebootreqd_path);
unset($config['system']['harddiskstandby']);
} else {
// No need to set the standby-time if a reboot is needed anyway
OpenPOWER on IntegriCloud