File: ip-down

package info (click to toggle)
ipmasq 3.4.4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 300 kB
  • ctags: 3
  • sloc: sh: 281; makefile: 48
file content (13 lines) | stat: -rwxr-xr-x 208 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
#
# ipmasq.ip-down   Reinitializes the ipmasq settings when PPP goes down
#
# v1.0	19 July 1998
#####

test -x /usr/sbin/ipmasq || exit 0

if [ -e /etc/ipmasq/ppp ]; then
    /usr/sbin/ipmasq
fi