Install sample portal configuration file if none are installed
authortholo <tholo@openbsd.org>
Sun, 8 Dec 1996 22:22:38 +0000 (22:22 +0000)
committertholo <tholo@openbsd.org>
Sun, 8 Dec 1996 22:22:38 +0000 (22:22 +0000)
sbin/mount_portal/Makefile
sbin/mount_portal/portal.conf

index 6beda13..c876018 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.2 1996/06/23 14:31:30 deraadt Exp $
+#      $OpenBSD: Makefile,v 1.3 1996/12/08 22:22:38 tholo Exp $
 #      $NetBSD: Makefile,v 1.10 1995/03/18 14:57:50 cgd Exp $
 
 PROG=  mount_portal
@@ -14,3 +14,8 @@ DPADD=        $(LIBCOMPAT)
 LDADD= -lcompat
 
 .include <bsd.prog.mk>
+
+afterinstall:
+       if [ ! -f ${DESTDIR}/etc/portal.conf ]; then
+               ${INSTALL} ${COPY} -o root -g wheel -m 644 portal.conf ${DESTDIR}/etc
+       fi
index 539f452..4ab04d1 100644 (file)
@@ -1,9 +1,9 @@
-#      $OpenBSD: portal.conf,v 1.2 1996/06/23 14:31:33 deraadt Exp $
+#      $OpenBSD: portal.conf,v 1.3 1996/12/08 22:22:38 tholo Exp $
 #      $NetBSD: portal.conf,v 1.3 1995/03/18 14:57:59 cgd Exp $
 # from: Id: portal.conf,v 1.1 1992/05/27 06:50:13 jsp Exp
 # @(#)portal.conf      8.1 (Berkeley) 6/5/93
-tcplisten/     tcplisten tcplisten/
-tcp/           tcp tcp/
-fs/            file fs/
-pipe/          pipe
-foo/           exec ./bar bar baz
+#tcplisten/    tcplisten tcplisten/
+#tcp/          tcp tcp/
+#fs/           file fs/
+#pipe/         pipe
+#foo/          exec ./bar bar baz