summaryrefslogtreecommitdiff
path: root/package/ppp
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/ppp
parenta65a31d165403bdeeaf8de77b2036ccb30ac5830 (diff)
downloadmtk-20170518-ea5e6f6571aa0f4c172e5fbaccbe132bb55bf70f.zip
mtk-20170518-ea5e6f6571aa0f4c172e5fbaccbe132bb55bf70f.tar.gz
mtk-20170518-ea5e6f6571aa0f4c172e5fbaccbe132bb55bf70f.tar.bz2
Add ipv6 up/down using route (#2372)
SVN-Revision: 8794
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 0000000..76678de
--- /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 0000000..e349471
--- /dev/null
+++ b/package/ppp/files/etc/ppp/ipv6-up
@@ -0,0 +1,2 @@
+#!/bin/sh
+route -A inet6 add default $4 dev $1