]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Print warning about dhcpd.conf move when installing on Linux.
authorTed Lemon <source@isc.org>
Tue, 23 Feb 1999 18:08:50 +0000 (18:08 +0000)
committerTed Lemon <source@isc.org>
Tue, 23 Feb 1999 18:08:50 +0000 (18:08 +0000)
Makefile.dist

index d76f4287a06f05dd7612b3ffb7e1343dcedad1d7..e2dc4e28e7fbedfabe938f37a7a360010bddfad2 100644 (file)
@@ -37,12 +37,42 @@ all:
                echo "Making all in $$dir"; \
                (cd $$dir; $(MAKE) all) || exit 1; \
         done
+       @if [ `uname` = Linux ]; then \
+               echo; \
+               echo "                   !!!!  WARNING  !!!!"; \
+               echo ; \
+               echo "The default location for the dhcpd.leases file has \
+changed!!!"; \
+               echo; \
+               echo "It is now in /var/state/dhcp.   If you are not"; \
+               echo "installing this for the first time, please move your"; \
+               echo "lease database to the new location before using this"; \
+               echo "software."; \
+               echo; \
+               echo "                   !!!!  WARNING  !!!!"; \
+               echo; \
+       fi
 
 install:
        @for dir in ${SUBDIRS}; do \
                echo "Installing in $$dir"; \
                (cd $$dir; $(MAKE) install) || exit 1; \
         done
+       @if [ `uname` = Linux ]; then \
+               echo; \
+               echo "                   !!!!  WARNING  !!!!"; \
+               echo ; \
+               echo "The default location for the dhcpd.leases file has \
+changed!!!"; \
+               echo; \
+               echo "It is now in /var/state/dhcp.   If you are not"; \
+               echo "installing this for the first time, please move your"; \
+               echo "lease database to the new location before using this"; \
+               echo "software."; \
+               echo; \
+               echo "                   !!!!  WARNING  !!!!"; \
+               echo; \
+       fi
 
 clean:
        @for dir in ${SUBDIRS}; do \