ppp: quote positional parameters when calling up/down scripts (closes: #5622)
authorNicolas Thill <nico@openwrt.org>
Sun, 27 Sep 2009 14:14:09 +0000 (14:14 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 27 Sep 2009 14:14:09 +0000 (14:14 +0000)
SVN-Revision: 17763

package/ppp/Makefile
package/ppp/files/etc/ppp/ip-down
package/ppp/files/etc/ppp/ip-up

index 5dd58911c3e82c07807e5ef965a81acedce5ff7c..919e105bbb71b3da82ba65c3a9695f8710db8afb 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ppp
 PKG_VERSION:=2.4.4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
index 4c8ee639bce568aed74725d434468d7af395b0a8..499dc59d6e0d7bf56c5345bd98b59412186aa16d 100755 (executable)
@@ -17,6 +17,6 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
 [ -d /etc/ppp/ip-down.d ] && {
        for SCRIPT in /etc/ppp/ip-down.d/*
        do
-               [ -x "$SCRIPT" ] && "$SCRIPT" $@
+               [ -x "$SCRIPT" ] && "$SCRIPT" "$@"
        done
 }
index fded600dff60fc2800f196ad518bfdfe3f966a1a..46c8d377001b02ec99a997e58d95ad78bb51c7a4 100755 (executable)
@@ -19,6 +19,6 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
 [ -d /etc/ppp/ip-up.d ] && {
        for SCRIPT in /etc/ppp/ip-up.d/*
        do
-               [ -x "$SCRIPT" ] && "$SCRIPT" $@
+               [ -x "$SCRIPT" ] && "$SCRIPT" "$@"
        done
 }