projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ixp4xx/fsg3: Compile needed drivers into the kernel to allow for booting directly...
[openwrt.git]
/
package
/
pptp
/
files
/
pptp.sh
diff --git
a/package/pptp/files/pptp.sh
b/package/pptp/files/pptp.sh
index
7847802
..
c61bdc0
100644
(file)
--- a/
package/pptp/files/pptp.sh
+++ b/
package/pptp/files/pptp.sh
@@
-1,8
+1,8
@@
-scan_pp
poe
() {
+scan_pp
tp
() {
scan_ppp "$@"
}
scan_ppp "$@"
}
-setup_interface_pp
poe
() {
+setup_interface_pp
tp
() {
local iface="$1"
local config="$2"
local iface="$1"
local config="$2"
@@
-14,9
+14,10
@@
setup_interface_pppoe() {
setup_interface "$iface" "$config" "dhcp"
config_get mtu "$cfg" mtu
setup_interface "$iface" "$config" "dhcp"
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.02489 seconds
and
4
git commands to generate.