projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4585c2c
)
allow dund to grab ppp options gathered from the network scripts
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Sep 2008 12:09:11 +0000
(12:09 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 1 Sep 2008 12:09:11 +0000
(12:09 +0000)
SVN-Revision: 12457
utils/bluez-utils/files/bluez-utils.init
patch
|
blob
|
history
diff --git
a/utils/bluez-utils/files/bluez-utils.init
b/utils/bluez-utils/files/bluez-utils.init
index 43780f5e8a56119d924dd241f409a6430c7b7f13..afd2294e7ac09cca8b1c08ce35d763b76057a83f 100644
(file)
--- a/
utils/bluez-utils/files/bluez-utils.init
+++ b/
utils/bluez-utils/files/bluez-utils.init
@@
-61,6
+61,12
@@
dund_config() {
append_bool "$cfg" cache "--cache"
append_string "$cfg" pppdopts ""
append_bool "$cfg" cache "--cache"
append_string "$cfg" pppdopts ""
+ config_get ifn "$cfg" interface
+ if [ -n "$ifn" ]; then
+ config_get unit "$ifn" unit
+ [ -z "$unit" ] || append args "unit $unit ipparam $ifn linkname $ifn"
+ fi
+
config_get_bool enabled "$cfg" "enabled" '1'
[ "$enabled" -gt 0 ] && /usr/bin/dund $args
}
config_get_bool enabled "$cfg" "enabled" '1'
[ "$enabled" -gt 0 ] && /usr/bin/dund $args
}