2013-02-17 19:26:52 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
[ "$ACTION" = ifup ] || exit 0
|
|
|
|
|
2013-03-13 15:46:30 +00:00
|
|
|
/etc/init.d/firewall enabled || exit 0
|
|
|
|
|
2013-02-17 19:26:52 +00:00
|
|
|
fw3 -q network "$INTERFACE" >/dev/null || exit 0
|
|
|
|
|
2013-02-22 12:45:38 +00:00
|
|
|
logger -t firewall "Reloading firewall due to ifup of $INTERFACE ($DEVICE)"
|
|
|
|
fw3 -q reload
|