summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-20 04:50:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-20 04:50:49 +0000
commit878024b1d869afc1264633217f3cfb5869cfe007 (patch)
treecf1b2d5b2c04026ad25bad678e069865688365ad /usr
parenta54890818d5d01e2bc0bdbc7b9db7ceb9e8a4b78 (diff)
downloadpfsense-878024b1d869afc1264633217f3cfb5869cfe007.zip
pfsense-878024b1d869afc1264633217f3cfb5869cfe007.tar.gz
Eliminate needed reboot.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/diag_backup.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index f8ed912..7b34e94 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -280,7 +280,14 @@ include("head.inc");
<?php
if($reloadall == true) {
- mwexec("/etc/rc.reboot");
+
+ if(file_exists("{$g['tmp_path']}/config.cache"))
+ unlink("{$g['tmp_path']}/config.cache");
+
+ parse_config();
+
+ reload_all();
+
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud