aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files/lib/netifd/ppp-down
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-17 21:35:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-17 21:35:13 +0000
commit6959928314c8949089280c8fd6649da532646e23 (patch)
treecd9d35ea01366959d64c616db0cc3d84adfd2872 /package/ppp/files/lib/netifd/ppp-down
parente4f13cc280dc08bfc1435cbeb7c15ffc03b0d13a (diff)
downloadupstream-6959928314c8949089280c8fd6649da532646e23.tar.gz
upstream-6959928314c8949089280c8fd6649da532646e23.tar.bz2
upstream-6959928314c8949089280c8fd6649da532646e23.zip
ppp: move ppp-{up,down} from the netifd package to pppd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files/lib/netifd/ppp-down')
-rwxr-xr-xpackage/ppp/files/lib/netifd/ppp-down6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/ppp/files/lib/netifd/ppp-down b/package/ppp/files/lib/netifd/ppp-down
new file mode 100755
index 0000000000..40aae86d07
--- /dev/null
+++ b/package/ppp/files/lib/netifd/ppp-down
@@ -0,0 +1,6 @@
+#!/bin/sh
+PPP_IPPARAM="$6"
+
+. /lib/netifd/netifd-proto.sh
+proto_init_update "$IFNAME" 0
+proto_send_update "$PPP_IPPARAM"