projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar71xx] aw-nr580: add GPIO buttons
[openwrt.git]
/
package
/
dnsmasq
/
files
/
dnsmasq.init
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index
6cb0e0f
..
8704149
100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-182,7
+182,6
@@
dhcp_boot_add() {
local cfg="$1"
config_get name "$cfg" name
local cfg="$1"
config_get name "$cfg" name
- [ -n "$name" ] || return 0
config_get filename "$cfg" filename
[ -n "$filename" ] || return 0
config_get filename "$cfg" filename
[ -n "$filename" ] || return 0
@@
-193,7
+192,7
@@
dhcp_boot_add() {
config_get serveraddress "$cfg" serveraddress
[ -n "$serveraddress" ] || return 0
config_get serveraddress "$cfg" serveraddress
[ -n "$serveraddress" ] || return 0
- append args "--dhcp-boot=
net:$name,
$filename,$servername,$serveraddress"
+ append args "--dhcp-boot=
${name:+net:$name,}
$filename,$servername,$serveraddress"
dhcp_option_add "$cfg" "$name"
}
dhcp_option_add "$cfg" "$name"
}
This page took
0.020206 seconds
and
4
git commands to generate.