diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-20 04:50:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-20 04:50:49 +0000 |
commit | 878024b1d869afc1264633217f3cfb5869cfe007 (patch) | |
tree | cf1b2d5b2c04026ad25bad678e069865688365ad /usr | |
parent | a54890818d5d01e2bc0bdbc7b9db7ceb9e8a4b78 (diff) | |
download | pfsense-878024b1d869afc1264633217f3cfb5869cfe007.zip pfsense-878024b1d869afc1264633217f3cfb5869cfe007.tar.gz |
Eliminate needed reboot.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_backup.php | 11 |
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 |