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.

12 lines
261 B

  1. #!/bin/sh
  2. # should restart shorewall-lite when an interface comes up
  3. [ ifup = "$ACTION" ] && {
  4. /etc/init.d/shorewall-lite restart
  5. }
  6. [ ifdown = "$ACTION" ] && {
  7. # might need to restore some routing
  8. /etc/init.d/shorewall-lite restart
  9. }