From 9947ba6e531c6a03a102b6ffb6bb1f20e2af1990 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 27 Nov 2006 08:03:47 +0000 Subject: [PATCH] Fix ppp hotplug script (#982) SVN-Revision: 5661 --- openwrt/package/ppp/files/etc/ppp/ip-up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/* -- 2.30.2