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.
This commit is contained in:
Scott Ullrich 2009-05-15 21:15:31 -04:00
parent 2eeb1781ab
commit 4b68ec30ab

View File

@ -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