contrib/dhcp/default-config.diff
2007-01-14 03:30:40 +10:00

51 lines
1.4 KiB
Diff

diff -Nru dhcp-3.0.5-orig/client/dhclient.conf dhcp-3.0.5/client/dhclient.conf
--- dhcp-3.0.5-orig/client/dhclient.conf 1997-06-03 01:50:44.000000000 +0300
+++ dhcp-3.0.5/client/dhclient.conf 2007-01-10 17:56:10.000000000 +0200
@@ -1,3 +1,7 @@
+#
+# /etc/dhclient.conf: DHCP client configuration file, see dhclient.conf(5)
+#
+
send host-name "andare.fugue.com";
send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
send dhcp-lease-time 3600;
@@ -11,7 +15,7 @@
reboot 10;
select-timeout 5;
initial-interval 2;
-script "/etc/dhclient-script";
+script "/sbin/dhclient-script";
media "-link0 -link1 -link2", "link0 link1";
reject 192.33.137.209;
@@ -34,3 +38,5 @@
rebind 2 2000/1/12 00:00:01;
expire 2 2000/1/12 00:00:01;
}
+
+# End of file
diff -Nru dhcp-3.0.5-orig/server/dhcpd.conf dhcp-3.0.5/server/dhcpd.conf
--- dhcp-3.0.5-orig/server/dhcpd.conf 2001-01-25 10:33:11.000000000 +0200
+++ dhcp-3.0.5/server/dhcpd.conf 2007-01-10 17:56:20.000000000 +0200
@@ -1,11 +1,11 @@
-# dhcpd.conf
#
-# Sample configuration file for ISC dhcpd
+# dhcpd.conf: Configuration file for ISC dhcpd
#
-# option definitions common to all supported networks...
+# Option definitions common to all supported networks.
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
+ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 7200;
@@ -99,3 +99,5 @@
range 10.0.29.10 10.0.29.230;
}
}
+
+# End of file