home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / NetworkManager / dispatcher.d / 00-firewall.sh next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2013-01-06  |  180 b   |  12 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # Run whenever an interface gets "up", not otherwise:
  6. if [ "$2" != "up" ]; then
  7.    exit 0
  8. fi
  9.  
  10. [ -x /usr/sbin/ferm ] || exit 2
  11. /usr/sbin/ferm /etc/ferm/ferm.conf
  12.