From 055975b3aea224603a1f93366dc25c856e4d80fd Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 2 Nov 2006 15:59:57 +0100 Subject: [PATCH] applied patch by Wolfgang Karall, support Gateway + Nameserver via /usr/share/grml-terminalserver/templates/dhcpd_config --- templates/dhcpd_config | 6 ++++++ 1 file changed, 6 insertions(+) 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_" <