1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 10:52:25 +02:00

[backfire] merge r21903

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21904 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-06-26 18:12:10 +00:00
parent 1abce0276c
commit d8f15077f0
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ppp
PKG_VERSION:=2.4.4
PKG_RELEASE:=7
PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/

View File

@ -92,11 +92,11 @@ start_pppd() {
}
local demand
config_get_bool demand "$cfg" demand 0
config_get demand "$cfg" demand 0
local demandargs
[ "$demand" -eq 1 ] && {
demandargs="precompiled-active-filter /etc/ppp/filter demand idle"
[ "$demand" -gt 0 ] && {
demandargs="precompiled-active-filter /etc/ppp/filter demand idle $demand"
[ "$has_dns" -eq 0 ] && add_dns "$cfg" 1.1.1.1
} || {
demandargs="persist"