contrib/dhcp/default-config.diff

51 lines
1.5 KiB
Diff
Raw Normal View History

2013-04-05 13:03:12 +02:00
diff -ur dhcp-4.0.0.orig/client/dhclient.conf.example dhcp-4.0.0/client/dhclient.conf.example
--- dhcp-4.0.0.orig/client/dhclient.conf.example 1997-06-03 00:50:44.000000000 +0200
+++ dhcp-4.0.0/client/dhclient.conf.example 2008-02-23 23:49:14.538607761 +0100
2006-11-14 00:01:22 +01:00
@@ -1,3 +1,7 @@
+#
+# /etc/dhclient.conf: DHCP client configuration file, see dhclient.conf(5)
+#
+
2010-07-16 15:00:19 +02:00
send host-name = pick-first-value(gethostname(), "ISC-dhclient");
2006-11-14 00:01:22 +01:00
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
2013-04-05 13:03:12 +02:00
diff -ur dhcp-4.0.0.orig/server/dhcpd.conf.example dhcp-4.0.0/server/dhcpd.conf.example
--- dhcp-4.0.0.orig/server/dhcpd.conf.example 2002-08-13 02:55:17.000000000 +0200
+++ dhcp-4.0.0/server/dhcpd.conf.example 2008-02-23 23:50:52.132354533 +0100
2007-01-13 18:30:40 +01:00
@@ -1,11 +1,11 @@
2006-11-14 00:01:22 +01:00
-# 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;
2007-01-13 18:30:40 +01:00
+ddns-update-style ad-hoc;
2006-11-14 00:01:22 +01:00
2007-01-13 18:30:40 +01:00
default-lease-time 600;
max-lease-time 7200;
2008-03-06 00:28:47 +01:00
@@ -102,3 +102,5 @@
2006-11-14 00:01:22 +01:00
range 10.0.29.10 10.0.29.230;
}
}
+
+# End of file