mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 23:17:53 +01:00
Ucified PXE-Boot options for dnsmasq
SVN-Revision: 12960
This commit is contained in:
parent
d625fc88d3
commit
d0d1d9fd57
@ -52,6 +52,7 @@ dnsmasq() {
|
|||||||
append_bool "$cfg" dbus "-1"
|
append_bool "$cfg" dbus "-1"
|
||||||
append_bool "$cfg" boguspriv "-b"
|
append_bool "$cfg" boguspriv "-b"
|
||||||
append_bool "$cfg" expandhosts "-E"
|
append_bool "$cfg" expandhosts "-E"
|
||||||
|
append_bool "$cfg" enable_tftp "--enable-tftp"
|
||||||
|
|
||||||
append_parm "$cfg" dnsforwardmax "-0"
|
append_parm "$cfg" dnsforwardmax "-0"
|
||||||
append_parm "$cfg" port "-p"
|
append_parm "$cfg" port "-p"
|
||||||
@ -63,6 +64,8 @@ dnsmasq() {
|
|||||||
append_parm "$cfg" "local" "-S"
|
append_parm "$cfg" "local" "-S"
|
||||||
append_parm "$cfg" "leasefile" "-l"
|
append_parm "$cfg" "leasefile" "-l"
|
||||||
append_parm "$cfg" "resolvfile" "-r"
|
append_parm "$cfg" "resolvfile" "-r"
|
||||||
|
append_parm "$cfg" "tftp_root" "--tftp-root"
|
||||||
|
append_parm "$cfg" "dhcp_boot" "--dhcp-boot"
|
||||||
|
|
||||||
config_get leasefile $cfg leasefile
|
config_get leasefile $cfg leasefile
|
||||||
[ -e "$leasefile" ] || touch "$leasefile"
|
[ -e "$leasefile" ] || touch "$leasefile"
|
||||||
|
Loading…
Reference in New Issue
Block a user