From: Florian Fainelli Date: Mon, 27 Nov 2006 08:03:47 +0000 (+0000) Subject: Fix ppp hotplug script (#982) X-Git-Tag: whiterussian_0.9~55 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9947ba6e531c6a03a102b6ffb6bb1f20e2af1990;p=openwrt%2Fsvn-archive%2Fopenwrt.git Fix ppp hotplug script (#982) SVN-Revision: 5661 --- diff --git a/openwrt/package/ppp/files/etc/ppp/ip-up b/openwrt/package/ppp/files/etc/ppp/ip-up index 34b4b50e15..c52d280be3 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 "$6" ] || env -i ACTION="ifup" INTERFACE="$6" PROTO=ppp /sbin/hotplug "iface" +[ -z "$1" ] || env -i ACTION="ifup" INTERFACE="$1" PROTO=ppp /sbin/hotplug "iface" [ -d /etc/ppp/ip-up.d ] && { for SCRIPT in /etc/ppp/ip-up.d/*