summaryrefslogtreecommitdiffstats
path: root/package/ppp/files/etc/ppp/ip-down
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/files/etc/ppp/ip-down')
-rwxr-xr-xpackage/ppp/files/etc/ppp/ip-down2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ppp/files/etc/ppp/ip-down b/package/ppp/files/etc/ppp/ip-down
index 6bff00ca0..814948e0b 100755
--- a/package/ppp/files/etc/ppp/ip-down
+++ b/package/ppp/files/etc/ppp/ip-down
@@ -1,5 +1,5 @@
#!/bin/sh
-[ -z "$6" ] || env -i ACTION="ifdown" INTERFACE="$6" PROTO=ppp /sbin/hotplug-call "iface"
+[ -z "$6" ] || env -i ACTION="ifdown" INTERFACE="$6" DEVICE="$1" PROTO=ppp /sbin/hotplug-call "iface"
[ -d /etc/ppp/ip-down.d ] && {
for SCRIPT in /etc/ppp/ip-down.d/*