aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-09-16 13:35:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-09-16 13:35:51 +0000
commitc3f3661b31abb1f4f89f1df0e921ef597935dfce (patch)
tree2c403f4d8530071cef4426a4f0642baaec9a45b4 /package/ppp/files
parent54445f06692dbadcc4fb8359f181305b01401f82 (diff)
downloadupstream-c3f3661b31abb1f4f89f1df0e921ef597935dfce.tar.gz
upstream-c3f3661b31abb1f4f89f1df0e921ef597935dfce.tar.bz2
upstream-c3f3661b31abb1f4f89f1df0e921ef597935dfce.zip
Add ipv6 up/down using route (#2372)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8794 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files')
-rw-r--r--package/ppp/files/etc/ppp/ipv6-down2
-rw-r--r--package/ppp/files/etc/ppp/ipv6-up2
2 files changed, 4 insertions, 0 deletions
diff --git a/package/ppp/files/etc/ppp/ipv6-down b/package/ppp/files/etc/ppp/ipv6-down
new file mode 100644
index 0000000000..76678de72c
--- /dev/null
+++ b/package/ppp/files/etc/ppp/ipv6-down
@@ -0,0 +1,2 @@
+#!/bin/sh
+route -A inet6 del $4 dev $1
diff --git a/package/ppp/files/etc/ppp/ipv6-up b/package/ppp/files/etc/ppp/ipv6-up
new file mode 100644
index 0000000000..e349471524
--- /dev/null
+++ b/package/ppp/files/etc/ppp/ipv6-up
@@ -0,0 +1,2 @@
+#!/bin/sh
+route -A inet6 add default $4 dev $1