You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
254 B

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