diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-06 00:49:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-06 00:49:52 +0000 |
commit | 42013a429e8496431bf6ca58eb8e4a369921a291 (patch) | |
tree | 5a8dfb0f6278147914a25d3c50af8180e243e944 /etc/rc.shutdown | |
parent | 58dd1c2966f98f35445a095ec37955196a4e882e (diff) | |
download | pfsense-42013a429e8496431bf6ca58eb8e4a369921a291.zip pfsense-42013a429e8496431bf6ca58eb8e4a369921a291.tar.gz |
Alert when bringing down carp interfaces on shutdown
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-x | etc/rc.shutdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 924717f..3137edb 100755 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -17,8 +17,10 @@ require("guiconfig.inc"); $carp_counter=find_number_of_created_carp_interfaces(); mwexec("/sbin/sysctl net.inet.carp.allow=0"); for($x=0; $x<$carp_counter; $x++) { + echo "Bringing down CARP{$x} ..."; mwexec("/sbin/ifconfig carp{$x} down"); mwexec("/sbin/ifconfig carp{$x} destroy"); + echo " Done."; } exit 0; |