mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
14 lines
254 B
Bash
14 lines
254 B
Bash
#!/bin/sh
|
|
|
|
# should restart shorewall when an interface comes up
|
|
|
|
case "$ACTION" in
|
|
ifup)
|
|
/etc/init.d/shorewall restart
|
|
;;
|
|
ifdown)
|
|
# might need to restore some routing
|
|
/etc/init.d/shorewall restart
|
|
;;
|
|
esac
|