From 22968348b19666ec6665779f926266c88604f5ee Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 4 Jun 2012 15:08:01 -0400 Subject: Revert "Make the ppp-linkup script understand both address families." This reverts commit 310c29c6a6089f1766ac052572b532e736a2251b. --- usr/local/sbin/ppp-linkup | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'usr/local') 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 -- cgit v1.1