2017-06-04 13:44:00 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2017-11-13 07:03:15 +00:00
|
|
|
# should restart shorewall when an interface comes up
|
2017-06-04 13:44:00 +00:00
|
|
|
|
2017-11-13 07:03:15 +00:00
|
|
|
case "$ACTION" in
|
|
|
|
ifup)
|
2017-06-04 13:44:00 +00:00
|
|
|
/etc/init.d/shorewall-lite restart
|
2017-11-13 07:03:15 +00:00
|
|
|
;;
|
|
|
|
ifdown)
|
2017-06-04 13:44:00 +00:00
|
|
|
# might need to restore some routing
|
|
|
|
/etc/init.d/shorewall-lite restart
|
2017-11-13 07:03:15 +00:00
|
|
|
;;
|
|
|
|
esac
|