dnsmasq: Enable tftp
This commit is contained in:
parent
ddd36a90fc
commit
574fa651d5
|
@ -58,8 +58,12 @@ do_install () {
|
||||||
install -d ${D}${sysconfdir}/dbus-1/system.d
|
install -d ${D}${sysconfdir}/dbus-1/system.d
|
||||||
install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
|
install -m 644 dbus/dnsmasq.conf ${D}${sysconfdir}/dbus-1/system.d/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
install -d ${D}/srv/tftp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FILES_${PN} += "/srv/tftp"
|
||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf"
|
CONFFILES_${PN} = "${sysconfdir}/dnsmasq.conf"
|
||||||
|
|
||||||
RPROVIDES_${PN} += "${PN}-systemd"
|
RPROVIDES_${PN} += "${PN}-systemd"
|
||||||
|
|
|
@ -286,8 +286,9 @@ dhcp-range=10.0.0.10,10.0.0.200,2h
|
||||||
|
|
||||||
# Include a another lot of configuration options.
|
# Include a another lot of configuration options.
|
||||||
#conf-file=/etc/dnsmasq.more.conf
|
#conf-file=/etc/dnsmasq.more.conf
|
||||||
|
|
||||||
|
enable-tftp
|
||||||
|
tftp-root=/srv/tftp/
|
||||||
|
tftp-secure
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue