summaryrefslogtreecommitdiffstats
path: root/package/ppp
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 13:35:51 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-16 13:35:51 +0000
commitdcfcfb5617aabba7a029bb5a778e506c8455a10c (patch)
tree2c403f4d8530071cef4426a4f0642baaec9a45b4 /package/ppp
parentfe3c9ea431cb017dd2a291e755c451c0ea22ccc9 (diff)
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')
-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 000000000..76678de72
--- /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 000000000..e34947152
--- /dev/null
+++ b/package/ppp/files/etc/ppp/ipv6-up
@@ -0,0 +1,2 @@
+#!/bin/sh
+route -A inet6 add default $4 dev $1