aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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