summaryrefslogtreecommitdiffstats
path: root/openwrt/package/ppp/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/ppp/files/etc')
-rwxr-xr-xopenwrt/package/ppp/files/etc/ppp/ip-down2
-rwxr-xr-xopenwrt/package/ppp/files/etc/ppp/ip-up2
2 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/ppp/files/etc/ppp/ip-down b/openwrt/package/ppp/files/etc/ppp/ip-down
new file mode 100755
index 000000000..044759fbf
--- /dev/null
+++ b/openwrt/package/ppp/files/etc/ppp/ip-down
@@ -0,0 +1,2 @@
+#!/bin/sh
+[ -z "$6" ] || env -i ACTION="ifdown" INTERFACE="$6" PROTO=ppp /sbin/hotplug "iface"
diff --git a/openwrt/package/ppp/files/etc/ppp/ip-up b/openwrt/package/ppp/files/etc/ppp/ip-up
new file mode 100755
index 000000000..c67a3d03c
--- /dev/null
+++ b/openwrt/package/ppp/files/etc/ppp/ip-up
@@ -0,0 +1,2 @@
+#!/bin/sh
+[ -z "$6" ] || env -i ACTION="ifup" INTERFACE="$6" PROTO=ppp /sbin/hotplug "iface"