From 0f47376b120e6df8b71c62e0fa350ff5dd3055f1 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Wed, 26 Sep 2007 03:42:25 +0000 Subject: [PATCH] bluez-utils: added the pppdopts configuration option for dund SVN-Revision: 9031 --- utils/bluez-utils/Makefile | 2 +- utils/bluez-utils/files/bluetooth.conf | 1 + utils/bluez-utils/files/bluez-utils.init | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/bluez-utils/Makefile b/utils/bluez-utils/Makefile index f39fc8ba8..0d3c2980b 100644 --- a/utils/bluez-utils/Makefile +++ b/utils/bluez-utils/Makefile @@ -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 diff --git a/utils/bluez-utils/files/bluetooth.conf b/utils/bluez-utils/files/bluetooth.conf index 7365ea7d9..137a1ab2b 100644 --- a/utils/bluez-utils/files/bluetooth.conf +++ b/utils/bluez-utils/files/bluetooth.conf @@ -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 diff --git a/utils/bluez-utils/files/bluez-utils.init b/utils/bluez-utils/files/bluez-utils.init index b064a47d9..bc7782862 100644 --- a/utils/bluez-utils/files/bluez-utils.init +++ b/utils/bluez-utils/files/bluez-utils.init @@ -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 } -- 2.30.2