From 94c94691382efff4eef19d816f9e7a615f41f5f2 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Sat, 13 Dec 2008 13:25:31 +0000 Subject: [PATCH] bluez-utils: Fix ability to automatically ifup the transitory ppp connection for bluetooth dund devices. SVN-Revision: 13620 --- utils/bluez-utils/Makefile | 2 +- utils/bluez-utils/files/bluetooth.conf | 4 +++- utils/bluez-utils/files/bluez-utils.init | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/bluez-utils/Makefile b/utils/bluez-utils/Makefile index 3c002dcb9..f2d999cf9 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:=3.36 -PKG_RELEASE:=4 +PKG_RELEASE:=5 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 54dcec008..dad576e9d 100644 --- a/utils/bluez-utils/files/bluetooth.conf +++ b/utils/bluez-utils/files/bluetooth.conf @@ -10,7 +10,9 @@ config dund option listen true option persist true option msdun true -# option pppdopts "ktune proxyarp 192.168.1.1:192.168.1.2 ms-dns 192.168.1.1" + option interface dund + option unit 1 + option pppdopts "ktune proxyarp 192.168.1.1:192.168.1.2 ms-dns 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 afd2294e7..13dadeee9 100644 --- a/utils/bluez-utils/files/bluez-utils.init +++ b/utils/bluez-utils/files/bluez-utils.init @@ -63,7 +63,7 @@ dund_config() { append_string "$cfg" pppdopts "" config_get ifn "$cfg" interface if [ -n "$ifn" ]; then - config_get unit "$ifn" unit + config_get unit "$cfg" unit [ -z "$unit" ] || append args "unit $unit ipparam $ifn linkname $ifn" fi -- 2.30.2