remove range from dhcpd.conf

This commit is contained in:
mischa 2018-10-20 16:45:40 +02:00
parent 0984cdc4c3
commit 00db32cd68

View File

@ -199,7 +199,7 @@ render_dhcpd_conf() {
printf "subnet %s netmask %s {\\n" "$SUBNET" "$NETMASK" printf "subnet %s netmask %s {\\n" "$SUBNET" "$NETMASK"
printf "\\toption routers %s;\\n" "$ROUTER" printf "\\toption routers %s;\\n" "$ROUTER"
printf "\\tserver-name \"%s.%s\";\\n" "$SERVER" "$DOMAIN" printf "\\tserver-name \"%s.%s\";\\n" "$SERVER" "$DOMAIN"
printf "\\trange %s;\\n\\n" "$RANGE" #printf "\\trange %s;\\n\\n" "$RANGE"
while read -r f while read -r f
do do
. "$f" . "$f"