append_bool "$cfg" boguspriv "-b"
append_bool "$cfg" expandhosts "-E"
append_bool "$cfg" enable_tftp "--enable-tftp"
append_bool "$cfg" boguspriv "-b"
append_bool "$cfg" expandhosts "-E"
append_bool "$cfg" enable_tftp "--enable-tftp"
append_parm "$cfg" "domain" "-s"
append_parm "$cfg" "local" "-S"
config_list_foreach "$cfg" "server" append_server
append_parm "$cfg" "domain" "-s"
append_parm "$cfg" "local" "-S"
config_list_foreach "$cfg" "server" append_server
append_parm "$cfg" "leasefile" "-l"
append_parm "$cfg" "resolvfile" "-r"
append_parm "$cfg" "tftp_root" "--tftp-root"
append_parm "$cfg" "leasefile" "-l"
append_parm "$cfg" "resolvfile" "-r"
append_parm "$cfg" "tftp_root" "--tftp-root"
config_get leasefile $cfg leasefile
[ -e "$leasefile" ] || touch "$leasefile"
config_get_bool cachelocal "$cfg" cachelocal 1
config_get leasefile $cfg leasefile
[ -e "$leasefile" ] || touch "$leasefile"
config_get_bool cachelocal "$cfg" cachelocal 1
- append args "--dhcp-boot=net:$name,$filename,$servername,$serveraddress"
+ append args "--dhcp-boot=${name:+net:$name,}$filename,$servername,$serveraddress"