From c5d70a3dc2587de7e029dee6c7f21e4171c366ac Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 11 Apr 2006 10:34:05 +0000 Subject: [PATCH] "Merge" from running copy on fortran. --- config/make-dhcpd.pl | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/config/make-dhcpd.pl b/config/make-dhcpd.pl index be48882..b31820d 100755 --- a/config/make-dhcpd.pl +++ b/config/make-dhcpd.pl @@ -122,7 +122,7 @@ EOF pool { allow members of "$d"; range $rangestart $rangeend; - option domain-name "$d.tg06.gathering.org"; + option domain-name "$d.tg06.gathering.org tg06.gathering.org"; ddns-domainname "$d.tg06.gathering.org"; ignore client-updates; } @@ -140,20 +140,21 @@ subnet 194.0.$net netmask $netmask { option routers $gw; range $rangestart $rangeend; - option domain-name "$domain.tg06.gathering.org"; + option domain-name "$domain.tg06.gathering.org tg06.gathering.org"; ddns-domainname "$domain.tg06.gathering.org"; ignore client-updates; EOF - # hack for sesse =) -# if ($net eq '250.0') { -# print <<"EOF"; -# host trofast { -# hardware ethernet 00:0e:0c:36:a7:66; -# filename "/pxelinux.0"; -# next-server 194.0.254.89; -# } -#EOF + # hack for sesse =) + if ($net eq '250.0') { + print <<"EOF"; + host trofast { + hardware ethernet 00:0e:0c:36:a7:66; + filename "/pxelinux.0"; + next-server 194.0.255.25; + } +EOF + } } print "}\n"; -- 2.39.2