diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 14:12:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 14:12:22 +0000 |
commit | 573c36539ec92e95d7528e53d5042fce1f5aaa3f (patch) | |
tree | 61463f50d37ffa6fff6a18f2dc29be1228503d9b /package/ppp/files/etc | |
parent | 7f0dd3fa4549cbc4f74407b5fe93a1604f6219b8 (diff) | |
download | upstream-573c36539ec92e95d7528e53d5042fce1f5aaa3f.tar.gz upstream-573c36539ec92e95d7528e53d5042fce1f5aaa3f.tar.bz2 upstream-573c36539ec92e95d7528e53d5042fce1f5aaa3f.zip |
set the DEVICE variable in hotplug events from ppp interfaces
SVN-Revision: 6667
Diffstat (limited to 'package/ppp/files/etc')
-rwxr-xr-x | package/ppp/files/etc/ppp/ip-down | 2 | ||||
-rwxr-xr-x | package/ppp/files/etc/ppp/ip-up | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/files/etc/ppp/ip-down b/package/ppp/files/etc/ppp/ip-down index 6bff00ca03..814948e0bd 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/* diff --git a/package/ppp/files/etc/ppp/ip-up b/package/ppp/files/etc/ppp/ip-up index 53a91343a5..22b65e8a09 100755 --- a/package/ppp/files/etc/ppp/ip-up +++ b/package/ppp/files/etc/ppp/ip-up @@ -1,5 +1,5 @@ #!/bin/sh -[ -z "$6" ] || env -i ACTION="ifup" INTERFACE="$6" PROTO=ppp /sbin/hotplug-call "iface" +[ -z "$6" ] || env -i ACTION="ifup" INTERFACE="$6" DEVICE="$1" PROTO=ppp /sbin/hotplug-call "iface" [ -d /etc/ppp/ip-up.d ] && { for SCRIPT in /etc/ppp/ip-up.d/* |