aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-10-17 03:55:30 +0000
committerBill Nottingham <notting@redhat.com>2004-10-17 03:55:30 +0000
commitf4a26c5f50d80000af0c6cf585c5be84111db935 (patch)
treef7e2848aab132ff6a96ba3792cc00fa7e6ab6b0a
parent860ee4d2468956a368a5ed78fcd2331285709abe (diff)
downloadinitscripts-f4a26c5f50d80000af0c6cf585c5be84111db935.tar
initscripts-f4a26c5f50d80000af0c6cf585c5be84111db935.tar.gz
initscripts-f4a26c5f50d80000af0c6cf585c5be84111db935.tar.bz2
initscripts-f4a26c5f50d80000af0c6cf585c5be84111db935.tar.xz
initscripts-f4a26c5f50d80000af0c6cf585c5be84111db935.zip
call ipv6to4 scripts in /etc/ppp/(ip-up|ip-down) (#124390, <dwmw2@redhat.com>)
-rw-r--r--ppp/ip-down2
-rw-r--r--ppp/ip-up2
2 files changed, 4 insertions, 0 deletions
diff --git a/ppp/ip-down b/ppp/ip-down
index 3c86f2a6..11aa43ee 100644
--- a/ppp/ip-down
+++ b/ppp/ip-down
@@ -8,6 +8,8 @@ export PATH
LOGDEVICE=$6
REALDEVICE=$1
+/etc/ppp/ip-down.ipv6to4 ${LOGDEVICE}
+
[ -x /etc/ppp/ip-down.local ] && /etc/ppp/ip-down.local "$@"
/etc/sysconfig/network-scripts/ifdown-post ifcfg-${LOGDEVICE}
diff --git a/ppp/ip-up b/ppp/ip-up
index 3b73814f..43e83ca6 100644
--- a/ppp/ip-up
+++ b/ppp/ip-up
@@ -10,6 +10,8 @@ REALDEVICE=$1
[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
+/etc/ppp/ip-up.ipv6to4 ${LOGDEVICE}
+
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"
exit 0