bluez-utils: added the pppdopts configuration option for dund
authorRod Whitby <rod@whitby.id.au>
Wed, 26 Sep 2007 03:42:25 +0000 (03:42 +0000)
committerRod Whitby <rod@whitby.id.au>
Wed, 26 Sep 2007 03:42:25 +0000 (03:42 +0000)
SVN-Revision: 9031

utils/bluez-utils/Makefile
utils/bluez-utils/files/bluetooth.conf
utils/bluez-utils/files/bluez-utils.init

index f39fc8ba8a60293b56f8d06843a502ace10c2af1..0d3c2980b987c21a93e56b3665f4ba2a7bf6bd4a 100644 (file)
@@ -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
index 7365ea7d9af121c3f9013165dd27fb5af2e18dac..137a1ab2bc9c7fd7b69bd6fb8054c59821dfebc0 100644 (file)
@@ -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
index b064a47d9a5e0dcf4f1ec7bfd3798b7bcb36f7a3..bc778286210ff2277c09be4dd9c427c9509f2ad4 100644 (file)
@@ -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
 }