aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commitea5e6f6571aa0f4c172e5fbaccbe132bb55bf70f (patch)
tree5ab9badaa2c3dd04b00f1c4bd8883d4fe0c7a579 /package
parenta65a31d165403bdeeaf8de77b2036ccb30ac5830 (diff)
downloadupstream-ea5e6f6571aa0f4c172e5fbaccbe132bb55bf70f.tar.gz
upstream-ea5e6f6571aa0f4c172e5fbaccbe132bb55bf70f.tar.bz2
upstream-ea5e6f6571aa0f4c172e5fbaccbe132bb55bf70f.zip
Add ipv6 up/down using route (#2372)
SVN-Revision: 8794
Diffstat (limited to 'package')
-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