Install sample slip.hosts and slip.login entry if none are present
authortholo <tholo@openbsd.org>
Sun, 8 Dec 1996 22:31:39 +0000 (22:31 +0000)
committertholo <tholo@openbsd.org>
Sun, 8 Dec 1996 22:31:39 +0000 (22:31 +0000)
usr.sbin/sliplogin/Makefile
usr.sbin/sliplogin/slip.hosts

index f49ea10..e3a2bb6 100644 (file)
@@ -1,9 +1,19 @@
 #      from: @(#)Makefile      5.1 (Berkeley) 5/11/90
-#      $Id: Makefile,v 1.1.1.1 1995/10/18 08:48:21 deraadt Exp $
+#      $Id: Makefile,v 1.2 1996/12/08 22:31:39 tholo Exp $
 
 PROG=  sliplogin
 MAN=   sliplogin.8
+FILES= slip.hosts slip.login
 BINOWN=        root
 BINMODE=4555
 
 .include <bsd.prog.mk>
+
+afterinstall:
+       @echo installing ${FILES}
+       @-for i in ${FILES}; do \
+               if [ ! -f ${DESTDIR}/etc/sliphome/$$i ]; then \
+                       ${INSTALL} ${COPY} -o root -g wheel ${.CURDIR}/$$i \
+                               ${DESTDIR}/etc/sliphome/$$i; \
+               fi; \
+       done
index e3e526a..fb2c3e8 100644 (file)
@@ -4,8 +4,8 @@
 #                                                      (noicmp == link1)
 #                                                      (autocomp == link2)
 #
-Shavoc okeeffe         havoc           0xffffff00      
-Soxford        okeeffe         oxford-gw       0xffffff00      link0
-Schez  okeeffe         chez            0xffffff00      link2
-Smjk   okeeffe         pissaro         0xffffff00      link0
-Smjk2  okeeffe         pissaro         0xffffff00      link0 link1
+#Shavoc        okeeffe         havoc           0xffffff00      
+#Soxford okeeffe       oxford-gw       0xffffff00      link0
+#Schez okeeffe         chez            0xffffff00      link2
+#Smjk  okeeffe         pissaro         0xffffff00      link0
+#Smjk2 okeeffe         pissaro         0xffffff00      link0 link1