diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-09-27 14:14:09 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-09-27 14:14:09 +0000 |
commit | 6b575bcb0ea72dbad36330f7c18420054003e7fc (patch) | |
tree | 5f3d01ffc3061f07f51a9a4bebbfc015fa94769d /package/ppp/files | |
parent | b3d3e5d75268ed32b940af9331da147eedb53e9a (diff) | |
download | mtk-20170518-6b575bcb0ea72dbad36330f7c18420054003e7fc.zip mtk-20170518-6b575bcb0ea72dbad36330f7c18420054003e7fc.tar.gz mtk-20170518-6b575bcb0ea72dbad36330f7c18420054003e7fc.tar.bz2 |
ppp: quote positional parameters when calling up/down scripts (closes: #5622)
SVN-Revision: 17763
Diffstat (limited to 'package/ppp/files')
-rwxr-xr-x | package/ppp/files/etc/ppp/ip-down | 2 | ||||
-rwxr-xr-x | package/ppp/files/etc/ppp/ip-up | 2 |
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 4c8ee63..499dc59 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 fded600..46c8d37 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 } |