From 61deccba103c44672c8e9f39ca61abc6cdf69c50 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Mon, 21 Mar 2005 04:51:33 +0000 Subject: restart webserver on cert chagne, don't force reboot...reboots are for wimps --- usr/local/www/system_advanced.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr') 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 -- cgit v1.1