diff options
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/services.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 321e13f..b098dff 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -273,6 +273,9 @@ EOD; $dhcpdconf .= " option netbios-node-type 8;\n"; } + if ($dhcpifconf['domain']) + $dhcpdconf .= " option domain-name \"{$dhcpifconf['domain']}\";\n"; + if (is_array($dhcpifconf['ntpserver']) && $dhcpifconf['ntpserver'][0]) $dhcpdconf .= " option ntp-servers " . join(",", $dhcpifconf['ntpserver']) . ";\n"; |