summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-21 04:51:33 +0000
committerBill Marquette <billm@pfsense.org>2005-03-21 04:51:33 +0000
commit61deccba103c44672c8e9f39ca61abc6cdf69c50 (patch)
treeaaae0b097bf51944aeecb003eefbb1724f83671e /usr
parentce62fee7c2d0d57f422a78c1b3cb5b85d1893efc (diff)
downloadpfsense-61deccba103c44672c8e9f39ca61abc6cdf69c50.zip
pfsense-61deccba103c44672c8e9f39ca61abc6cdf69c50.tar.gz
restart webserver on cert chagne, don't force reboot...reboots are for wimps
Diffstat (limited to 'usr')
-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