]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Warn Linux users of database move
authorTed Lemon <source@isc.org>
Thu, 5 Sep 1996 23:48:45 +0000 (23:48 +0000)
committerTed Lemon <source@isc.org>
Thu, 5 Sep 1996 23:48:45 +0000 (23:48 +0000)
configure

index bc0290dba0f779a2f3ab90616ecab8dbd22e2e34..b00b6717222c505656a3da412cdf64e067192d6a 100755 (executable)
--- a/configure
+++ b/configure
@@ -68,6 +68,21 @@ if [ \( $sysname = "bsdos" -o $sysname = "netbsd" -o $sysname = "freebsd" \) \
     echo
 fi
 
+if [ \( $sysname = "linux" \) \
+       -a \( ! -f /var/dhcpd/dhcpd.leases \) -a \( -f /etc/dhcpd.leases \) ];
+  then
+    echo
+    echo "                   !!!WARNING!!!"
+    echo
+    echo DHCPD is now storing the DHCP lease database in /var/dhcpd
+    echo instead of /etc.   Before you start using this new version
+    echo of dhcpd, you must move your dhcpd.leases file from /etc
+    echo to /var/dhcpd!
+    echo
+    echo "                   !!!WARNING!!!"
+    echo
+fi
+
 echo
 echo "                          !!!WARNING!!!"
 echo