mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-16 18:11:53 +02:00
[package] ppp: the pptp buffering option is not supported anymore, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32482 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0235660f48
commit
5129ca13a6
@ -169,7 +169,6 @@ proto_pppoa_teardown() {
|
|||||||
proto_pptp_init_config() {
|
proto_pptp_init_config() {
|
||||||
ppp_generic_init_config
|
ppp_generic_init_config
|
||||||
proto_config_add_string "server"
|
proto_config_add_string "server"
|
||||||
proto_config_add_boolean "buffering"
|
|
||||||
available=1
|
available=1
|
||||||
no_device=1
|
no_device=1
|
||||||
}
|
}
|
||||||
@ -192,10 +191,6 @@ proto_pptp_setup() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
local buffering
|
|
||||||
json_get_var buffering buffering
|
|
||||||
[ "${buffering:-1}" == 0 ] && buffering="--nobuffer" || buffering=
|
|
||||||
|
|
||||||
local load
|
local load
|
||||||
for module in slhc ppp_generic ppp_async ppp_mppe ip_gre gre pptp; do
|
for module in slhc ppp_generic ppp_async ppp_mppe ip_gre gre pptp; do
|
||||||
grep -q "$module" /proc/modules && continue
|
grep -q "$module" /proc/modules && continue
|
||||||
|
Loading…
Reference in New Issue
Block a user