From 2bbf691d32674580ed101308a0de0a460b7ae616 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 27 Nov 2006 08:14:39 +0000 Subject: [PATCH] Revert a bit the previous changeset, add DEVICE to ip-up/down SVN-Revision: 5662 --- openwrt/package/ppp/files/etc/ppp/ip-down | 2 +- openwrt/package/ppp/files/etc/ppp/ip-up | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/package/ppp/files/etc/ppp/ip-down b/openwrt/package/ppp/files/etc/ppp/ip-down index 334bcb885a..a0439ec832 100644 --- a/openwrt/package/ppp/files/etc/ppp/ip-down +++ b/openwrt/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 "iface" +[ -z "$6" ] || env -i ACTION="ifdown" INTERFACE="$6" PROTO=ppp DEVICE=$1 /sbin/hotplug "iface" [ -d /etc/ppp/ip-down.d ] && { for SCRIPT in /etc/ppp/ip-down.d/* diff --git a/openwrt/package/ppp/files/etc/ppp/ip-up b/openwrt/package/ppp/files/etc/ppp/ip-up index c52d280be3..76aa32664e 100644 --- a/openwrt/package/ppp/files/etc/ppp/ip-up +++ b/openwrt/package/ppp/files/etc/ppp/ip-up @@ -1,5 +1,5 @@ #!/bin/sh -[ -z "$1" ] || env -i ACTION="ifup" INTERFACE="$1" PROTO=ppp /sbin/hotplug "iface" +[ -z "$6" ] || env -i ACTION="ifup" INTERFACE="$6" PROTO=ppp DEVICE=$1 /sbin/hotplug "iface" [ -d /etc/ppp/ip-up.d ] && { for SCRIPT in /etc/ppp/ip-up.d/* -- 2.30.2