Add ipv6 up/down using route (#2372)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 16 Sep 2007 13:35:51 +0000 (13:35 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 16 Sep 2007 13:35:51 +0000 (13:35 +0000)
SVN-Revision: 8794

package/ppp/files/etc/ppp/ipv6-down [new file with mode: 0644]
package/ppp/files/etc/ppp/ipv6-up [new file with mode: 0644]

diff --git a/package/ppp/files/etc/ppp/ipv6-down b/package/ppp/files/etc/ppp/ipv6-down
new file mode 100644 (file)
index 0000000..76678de
--- /dev/null
@@ -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 (file)
index 0000000..e349471
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+route -A inet6 add default $4 dev $1