summaryrefslogtreecommitdiff
path: root/package/pptp/files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-04-21 20:19:54 +0000
committerNicolas Thill <nico@openwrt.org>2007-04-21 20:19:54 +0000
commit942d07de9a1e5f63ed9b7005dc1c8f73b510e8dc (patch)
treeec3c23a4c1249d30d63437e8cceb9284399ecf48 /package/pptp/files
parent9be029b4455594ed80ae6f0b13681d0ebc41b86b (diff)
downloadmtk-20170518-942d07de9a1e5f63ed9b7005dc1c8f73b510e8dc.zip
mtk-20170518-942d07de9a1e5f63ed9b7005dc1c8f73b510e8dc.tar.gz
mtk-20170518-942d07de9a1e5f63ed9b7005dc1c8f73b510e8dc.tar.bz2
fix start_pppd for pptp (closes: #1612)
SVN-Revision: 7027
Diffstat (limited to 'package/pptp/files')
-rw-r--r--package/pptp/files/pptp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index fffa625..c61bdc0 100644
--- a/package/pptp/files/pptp.sh
+++ b/package/pptp/files/pptp.sh
@@ -17,7 +17,7 @@ setup_interface_pptp() {
config_get server "$cfg" server
mtu=${mtu:-1452}
start_pppd "$config" \
- pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd"
- file /etc/ppp/options.pptp
+ pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd" \
+ file /etc/ppp/options.pptp \
mtu $mtu mru $mtu
}