summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-08-10 20:33:53 +0000
committerseb <seb@pkgsrc.org>2003-08-10 20:33:53 +0000
commit5a02a8c845fff47932b5893c910619914d168418 (patch)
tree6ab3a90532b8c95e48c5bd1e30f35a9f8dabcd80 /mk
parentf64f9b974699bd09c91e55854c275cc93cb99da5 (diff)
downloadpkgsrc-5a02a8c845fff47932b5893c910619914d168418.tar.gz
Also create /var/log/lastlog{,x} in the sandbox if they exist in the
hosting system.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/bulk/mksandbox4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox
index 0a0c1528b35..772161919aa 100755
--- a/mk/bulk/mksandbox
+++ b/mk/bulk/mksandbox
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mksandbox,v 1.23 2003/07/30 09:25:13 seb Exp $
+# $NetBSD: mksandbox,v 1.24 2003/08/10 20:33:53 seb Exp $
#
#
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
@@ -45,7 +45,7 @@ src=/usr/src
kernel=""
sandboxMountDirs="/bin /sbin /lib /libexec /usr/X11R6 /usr/bin /usr/games /usr/include /usr/lib /usr/libdata /usr/libexec /usr/lkm /usr/share /usr/sbin /var/mail"
sandboxEmptyDirs="/var/run /var/log /var/spool/mqueue"
-sandboxEmptyFiles="/var/run/utmp /var/run/utmpx /var/log/wtmp /var/log/wtmpx"
+sandboxEmptyFiles="/var/run/utmp /var/run/utmpx /var/log/wtmp /var/log/wtmpx /var/log/lastlog /var/log/lastlogx"
opsys=`uname -s`
case "$opsys" in