diff options
author | jim-p <jimp@pfsense.org> | 2012-06-04 15:08:01 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-04 15:08:01 -0400 |
commit | 22968348b19666ec6665779f926266c88604f5ee (patch) | |
tree | 103fd8623eb2c3b06deab6686fce401c64ae5254 /usr/local | |
parent | d427980c76cd11beeb923c939e1924fecf532a08 (diff) | |
download | pfsense-22968348b19666ec6665779f926266c88604f5ee.zip pfsense-22968348b19666ec6665779f926266c88604f5ee.tar.gz |
Revert "Make the ppp-linkup script understand both address families."
This reverts commit 310c29c6a6089f1766ac052572b532e736a2251b.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/sbin/ppp-linkup | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/usr/local/sbin/ppp-linkup b/usr/local/sbin/ppp-linkup index e0fb0c2..12dda9b 100755 --- a/usr/local/sbin/ppp-linkup +++ b/usr/local/sbin/ppp-linkup @@ -1,18 +1,9 @@ #!/bin/sh -if [ "$2" == "inet" ]; then - # let the configuration system know that the ipv4 has changed. - /bin/echo $4 > /tmp/$1_router - /bin/echo $3 > /tmp/$1_ip - /usr/bin/touch /tmp/$1up -fi - -if [ "$2" == "inet6" ]; then - # let the configuration system know that the ipv6 has changed. - /bin/echo $4 |cut -d% -f1 > /tmp/$1_routerv6 - /bin/echo $3 |cut -d% -f1 > /tmp/$1_ipv6 - /usr/bin/touch /tmp/$1upv6 -fi +# let the configuration system know that the ip has changed. +/bin/echo $4 > /tmp/$1_router +/bin/echo $3 > /tmp/$1_ip +/usr/bin/touch /tmp/$1up ALLOWOVERRIDE=`/usr/bin/grep dnsallowoverride /conf/config.xml | /usr/bin/wc -l` if [ $ALLOWOVERRIDE -gt 0 ]; then |