bluez-utils: added the pppdopts configuration option for dund
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9031 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
580f4f607e
commit
f94b77901d
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=bluez-utils
|
||||
PKG_VERSION:=2.24
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://bluez.sourceforge.net/download
|
||||
|
@ -13,6 +13,7 @@ config dund
|
||||
option listen true
|
||||
option persist true
|
||||
option msdun true
|
||||
# option pppdopts "ktune proxyarp 192.168.1.1:192.168.1.2 ms-dun 192.168.1.1"
|
||||
option enabled 0
|
||||
|
||||
config pand
|
||||
|
@ -67,6 +67,8 @@ dund_config() {
|
||||
append_bool "$cfg" msdun "--msdun"
|
||||
append_bool "$cfg" activesync "--activesync"
|
||||
append_bool "$cfg" cache "--cache"
|
||||
|
||||
append_string "$cfg" pppdopts ""
|
||||
config_get_bool enabled "$cfg" "enabled" '1'
|
||||
[ "$enabled" -gt 0 ] && /usr/bin/dund $args
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user