mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
2eeb1781ab
commit
4b68ec30ab
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user