aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-09-27 14:14:09 +0000
committerNicolas Thill <nico@openwrt.org>2009-09-27 14:14:09 +0000
commitf9fa0c4e23bb880b51c9b07b2eae9d9710705086 (patch)
tree240a3d81046a30e28c2ade6859927f5687e48aa5 /package/ppp/files
parentf935a1890718de02001ef8abc4fdd1358a2e76b2 (diff)
downloadupstream-f9fa0c4e23bb880b51c9b07b2eae9d9710705086.tar.gz
upstream-f9fa0c4e23bb880b51c9b07b2eae9d9710705086.tar.bz2
upstream-f9fa0c4e23bb880b51c9b07b2eae9d9710705086.zip
[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
Diffstat (limited to 'package/ppp/files')
-rwxr-xr-xpackage/ppp/files/etc/ppp/ip-down2
-rwxr-xr-xpackage/ppp/files/etc/ppp/ip-up2
2 files changed, 2 insertions, 2 deletions
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
}