projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added package ssltunnel, thanks to Eric (emss)
[openwrt.git]
/
openwrt
/
package
/
pptp
/
files
/
ifup.pptp
diff --git
a/openwrt/package/pptp/files/ifup.pptp
b/openwrt/package/pptp/files/ifup.pptp
index
eda78e4
..
fe04d97
100644
(file)
--- a/
openwrt/package/pptp/files/ifup.pptp
+++ b/
openwrt/package/pptp/files/ifup.pptp
@@
-33,10
+33,10
@@
do_ifup $PPTP_PROTO $type
# hack for some buggy ISPs
NETMASK=$(nvram get ${type}_netmask)
# hack for some buggy ISPs
NETMASK=$(nvram get ${type}_netmask)
-IFNAME=$(nvram get
pptp_ifnam
e)
+IFNAME=$(nvram get
${type}_devic
e)
[ -z "$NETMASK" -o -z "$IFNAME" ] || ifconfig $IFNAME netmask $NETMASK
[ -z "$NETMASK" -o -z "$IFNAME" ] || ifconfig $IFNAME netmask $NETMASK
-/usr/sbin/pppd
nodetach
\
+/usr/sbin/pppd \
pty "/usr/sbin/pptp $IP --loglevel 0 --nolaunchpppd" \
file /etc/ppp/options.pptp \
connect /bin/true \
pty "/usr/sbin/pptp $IP --loglevel 0 --nolaunchpppd" \
file /etc/ppp/options.pptp \
connect /bin/true \
This page took
0.02149 seconds
and
4
git commands to generate.