From: tholo Date: Sun, 8 Dec 1996 22:31:39 +0000 (+0000) Subject: Install sample slip.hosts and slip.login entry if none are present X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a44c74a9b67c6759d9566fa5aa1ab4bc7dc59845;p=openbsd Install sample slip.hosts and slip.login entry if none are present --- diff --git a/usr.sbin/sliplogin/Makefile b/usr.sbin/sliplogin/Makefile index f49ea109527..e3a2bb64981 100644 --- a/usr.sbin/sliplogin/Makefile +++ b/usr.sbin/sliplogin/Makefile @@ -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 + +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 diff --git a/usr.sbin/sliplogin/slip.hosts b/usr.sbin/sliplogin/slip.hosts index e3e526ac87b..fb2c3e8a433 100644 --- a/usr.sbin/sliplogin/slip.hosts +++ b/usr.sbin/sliplogin/slip.hosts @@ -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