projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
acx-mac80211 fixes:
[openwrt.git]
/
package
/
pptp
/
files
/
pptp.sh
diff --git
a/package/pptp/files/pptp.sh
b/package/pptp/files/pptp.sh
index
7847802
..
4d03af0
100644
(file)
--- a/
package/pptp/files/pptp.sh
+++ b/
package/pptp/files/pptp.sh
@@
-1,22
+1,24
@@
-scan_pp
poe
() {
+scan_pp
tp
() {
scan_ppp "$@"
}
scan_ppp "$@"
}
-setup_interface_pp
poe
() {
+setup_interface_pp
tp
() {
local iface="$1"
local config="$2"
config_get device "$config" device
local iface="$1"
local config="$2"
config_get device "$config" device
+ config_get ipproto "$config" ipproto
for module in slhc ppp_generic ppp_async ip_gre; do
/sbin/insmod $module 2>&- >&-
done
for module in slhc ppp_generic ppp_async ip_gre; do
/sbin/insmod $module 2>&- >&-
done
- setup_interface "$iface" "$config" "
dhcp
"
+ setup_interface "$iface" "$config" "
${ipproto:-dhcp}
"
config_get mtu "$cfg" mtu
config_get mtu "$cfg" mtu
+ config_get server "$cfg" server
mtu=${mtu:-1452}
start_pppd "$config" \
mtu=${mtu:-1452}
start_pppd "$config" \
- p
lugin rp-pppoe.so
\
-
mtu $mtu mru $mtu
\
- "nic-$device"
+ p
ty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd"
\
+
file /etc/ppp/options.pptp
\
+ mtu $mtu mru $mtu
}
}
This page took
0.023467 seconds
and
4
git commands to generate.