From: Michael Prokop Date: Thu, 2 Nov 2006 14:59:57 +0000 (+0100) Subject: applied patch by Wolfgang Karall, support Gateway + Nameserver via /usr/share/grml... X-Git-Tag: 0.72~19 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=055975b3aea224603a1f93366dc25c856e4d80fd;hp=48522266da4afd4ad3bc1814e6231089e1ff6638;p=grml-terminalserver.git applied patch by Wolfgang Karall, support Gateway + Nameserver via /usr/share/grml-terminalserver/templates/dhcpd_config --- diff --git a/templates/dhcpd_config b/templates/dhcpd_config index 40b784a..cb5c6f2 100644 --- a/templates/dhcpd_config +++ b/templates/dhcpd_config @@ -25,6 +25,10 @@ date_=`execute date warn` +# insert commas when having multiple nameservers +DNS_=$(echo "$NAMESERVERS_" | sed -e 's/\([0-9]\) \([0-9]\)/\1, \2/g') +# note: we don't support multiple routers options + cat >"$DHCPD_CONFIG_FILE_" <