From 4b68ec30abb77d5aa95dad1218d8a2e6da01af10 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 15 May 2009 21:15:31 -0400 Subject: Down interfaces before rebooting. Hopefully giving enough time for the master interface to send a pfsync() notification to its peers. Open and Free both down the interface before rebooting. --- etc/rc.reboot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/rc.reboot b/etc/rc.reboot index 721c742..dbb8327 100755 --- a/etc/rc.reboot +++ b/etc/rc.reboot @@ -23,5 +23,11 @@ fi sleep 1 +echo -n "Downing interfaces: " +for INTERFACE in `/sbin/ifconfig -l`; do + echo -n $INTERFACE + /sbin/ifconfig $INTERFACE down +done + /sbin/shutdown -r now -- cgit v1.1