diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-11-04 03:27:26 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-11-04 03:27:26 +0000 |
commit | b1a0dfff3cfac5e4d2df2331e31622d9e39b2d72 (patch) | |
tree | 824c0771ab4e247490754e9b8dfbc5ed82328b8a /usr/local/www | |
parent | 65732d96c4994fd946384604d28e6443bd1141b6 (diff) | |
download | pfsense-b1a0dfff3cfac5e4d2df2331e31622d9e39b2d72.zip pfsense-b1a0dfff3cfac5e4d2df2331e31622d9e39b2d72.tar.gz |
warn when the firewall is going to reboot
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php index d3bb001..e61ed4d 100755 --- a/usr/local/www/firewall_virtual_ip.php +++ b/usr/local/www/firewall_virtual_ip.php @@ -94,7 +94,9 @@ include("head.inc"); if ($input_errors) print_input_errors($input_errors); else if ($savemsg) - print_info_box($savemsg); + print_info_box($savemsg); + else if (file_exists("/tmp/carp_reboot_needed")) + print_info_box_np("The VIP configuration changes require a reboot to apply. THE FIREWALL WILL REBOOT WHEN YOU CLICK APPLY CHANGES."); else if (file_exists($d_vipconfdirty_path)) print_info_box_np("The VIP configuration has been changed.<br>You must apply the changes in order for them to take effect."); ?> |