]> git.sesse.net Git - nms/blobdiff - config/make-dhcpd.pl
Timestamp stuff.
[nms] / config / make-dhcpd.pl
index 876e5cba5c9ea3b4a6254bc82ed02377e987d983..c78b9f53c7fb41d16f7b6a01c22f13a42f60bf2d 100755 (executable)
@@ -1,6 +1,9 @@
 #! /usr/bin/perl -w
 use strict;
 
+my $date = `date --rfc-2822`;
+chomp $date;
+
 my @nets = ();
 open NAMES, "switches.txt"
        or die "switches.txt: $!";
@@ -15,7 +18,7 @@ while (<NAMES>) {
 }      
 
 print <<"EOF";
-# Autogenerated by make-dhcpd.pl. Do not edit manually!
+# Autogenerated by make-dhcpd.pl at $date. Do not edit manually!
 
 option domain-name "tg07.gathering.org";
 option domain-name-servers 87.76.254.2, 87.76.255.2;