summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc3
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";
OpenPOWER on IntegriCloud