1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 08:13:20 +02:00

[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
This commit is contained in:
nico 2009-09-27 14:14:09 +00:00
parent dc1a20a020
commit 6d2edb6cad
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ppp PKG_NAME:=ppp
PKG_VERSION:=2.4.4 PKG_VERSION:=2.4.4
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/ PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/

View File

@ -17,6 +17,6 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
[ -d /etc/ppp/ip-down.d ] && { [ -d /etc/ppp/ip-down.d ] && {
for SCRIPT in /etc/ppp/ip-down.d/* for SCRIPT in /etc/ppp/ip-down.d/*
do do
[ -x "$SCRIPT" ] && "$SCRIPT" $@ [ -x "$SCRIPT" ] && "$SCRIPT" "$@"
done done
} }

View File

@ -19,6 +19,6 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
[ -d /etc/ppp/ip-up.d ] && { [ -d /etc/ppp/ip-up.d ] && {
for SCRIPT in /etc/ppp/ip-up.d/* for SCRIPT in /etc/ppp/ip-up.d/*
do do
[ -x "$SCRIPT" ] && "$SCRIPT" $@ [ -x "$SCRIPT" ] && "$SCRIPT" "$@"
done done
} }