From 2a7739261a5a1c1953e01f90ee25daf5ad912290 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 12 Jun 2024 21:22:30 -0500 Subject: [PATCH] added --dhcp-hosts option help --- src/scripts/create_ap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scripts/create_ap b/src/scripts/create_ap index ea93d1d..9b3ac5f 100755 --- a/src/scripts/create_ap +++ b/src/scripts/create_ap @@ -63,6 +63,11 @@ usage() { echo " back to managed" echo " --mac Set MAC address" echo " --dhcp-dns Set DNS returned by DHCP" + echo " --dhcp-hosts Add list of dnsmasq.conf 'dhcp-host=' values" + echo " If ETC_HOSTS=1, it will use the ip addresses for the named hosts in that /etc/hosts." + echo " Othwise, the following syntax would work --dhcp-hosts \"192.168.12.2,foo 192.168.12.3,bar\"" + echo " See https://github.com/imp/dnsmasq/blob/master/dnsmasq.conf.example for other" + echo " valid dnsmasq dhcp-host parameters." echo " --daemon Run create_ap in the background" echo " --pidfile Save daemon PID to file" echo " --logfile Save daemon messages to file"