1
0

hotplug_iface 263 B

12345678910111213
  1. #!/bin/sh
  2. # should restart shorewall when an interface comes up
  3. case "$ACTION" in
  4. ifup)
  5. /etc/init.d/shorewall-lite restart
  6. ;;
  7. ifdown)
  8. # might need to restore some routing
  9. /etc/init.d/shorewall-lite restart
  10. ;;
  11. esac