summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-04 15:08:01 -0400
committerjim-p <jimp@pfsense.org>2012-06-04 15:08:01 -0400
commit22968348b19666ec6665779f926266c88604f5ee (patch)
tree103fd8623eb2c3b06deab6686fce401c64ae5254 /usr/local
parentd427980c76cd11beeb923c939e1924fecf532a08 (diff)
downloadpfsense-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-xusr/local/sbin/ppp-linkup17
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
OpenPOWER on IntegriCloud