summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-27 14:14:09 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-27 14:14:09 +0000
commit6d2edb6cadf333b501e0a44e0659fff23bdc2a90 (patch)
tree240a3d81046a30e28c2ade6859927f5687e48aa5
parentdc1a20a0201bcee63c85ab2ee6e718b026c65c8b (diff)
[package] ppp: quote positional parameters when calling up/down scripts (closes: #5622)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17763 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/ppp/Makefile2
-rwxr-xr-xpackage/ppp/files/etc/ppp/ip-down2
-rwxr-xr-xpackage/ppp/files/etc/ppp/ip-up2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 5dd58911c3..919e105bbb 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -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/
diff --git a/package/ppp/files/etc/ppp/ip-down b/package/ppp/files/etc/ppp/ip-down
index 4c8ee639bc..499dc59d6e 100755
--- a/package/ppp/files/etc/ppp/ip-down
+++ b/package/ppp/files/etc/ppp/ip-down
@@ -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
}
diff --git a/package/ppp/files/etc/ppp/ip-up b/package/ppp/files/etc/ppp/ip-up
index fded600dff..46c8d37700 100755
--- a/package/ppp/files/etc/ppp/ip-up
+++ b/package/ppp/files/etc/ppp/ip-up
@@ -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
}