bluez-utils: Fix ability to automatically ifup the transitory ppp connection for bluetooth dund devices.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13620 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
683f436139
commit
69b6800f20
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=bluez-utils
|
PKG_NAME:=bluez-utils
|
||||||
PKG_VERSION:=3.36
|
PKG_VERSION:=3.36
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://bluez.sourceforge.net/download
|
PKG_SOURCE_URL:=http://bluez.sourceforge.net/download
|
||||||
|
@ -10,7 +10,9 @@ config dund
|
|||||||
option listen true
|
option listen true
|
||||||
option persist true
|
option persist true
|
||||||
option msdun 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
|
option enabled 0
|
||||||
|
|
||||||
config pand
|
config pand
|
||||||
|
@ -63,7 +63,7 @@ dund_config() {
|
|||||||
append_string "$cfg" pppdopts ""
|
append_string "$cfg" pppdopts ""
|
||||||
config_get ifn "$cfg" interface
|
config_get ifn "$cfg" interface
|
||||||
if [ -n "$ifn" ]; then
|
if [ -n "$ifn" ]; then
|
||||||
config_get unit "$ifn" unit
|
config_get unit "$cfg" unit
|
||||||
[ -z "$unit" ] || append args "unit $unit ipparam $ifn linkname $ifn"
|
[ -z "$unit" ] || append args "unit $unit ipparam $ifn linkname $ifn"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user