summaryrefslogtreecommitdiff
path: root/package/pptp/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-03 17:01:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-03 17:01:30 +0000
commit785c3f1db88c9fd2bb8320e59a9838926864b38d (patch)
treefdb80979d5a8a81d8533ce67a596ae75d2d46dc9 /package/pptp/files
parent12cb49b23368988b3f178aef43b000f86e25ce3b (diff)
downloadmtk-20170518-785c3f1db88c9fd2bb8320e59a9838926864b38d.zip
mtk-20170518-785c3f1db88c9fd2bb8320e59a9838926864b38d.tar.gz
mtk-20170518-785c3f1db88c9fd2bb8320e59a9838926864b38d.tar.bz2
pptp: fix passing setup json variables to the ppp setup code
SVN-Revision: 32035
Diffstat (limited to 'package/pptp/files')
-rwxr-xr-xpackage/pptp/files/pptp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index 4ce39f6..911e0aa 100755
--- a/package/pptp/files/pptp.sh
+++ b/package/pptp/files/pptp.sh
@@ -24,7 +24,7 @@ proto_pptp_setup() {
serv_addr=
for ip in $(resolveip -t 5 "$server"); do
- proto_add_host_dependency "$config" "$server"
+ ( proto_add_host_dependency "$config" "$server" )
serv_addr=1
done
[ -n "$serv_addr" ] || {