summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmk/bulk/mksandbox11
1 files changed, 9 insertions, 2 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox
index 863286462a3..71205a3e49b 100755
--- a/mk/bulk/mksandbox
+++ b/mk/bulk/mksandbox
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mksandbox,v 1.16 2002/12/31 15:33:56 cjep Exp $
+# $NetBSD: mksandbox,v 1.17 2002/12/31 17:42:32 cjep Exp $
#
#
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
@@ -97,7 +97,7 @@ SunOS)
mountprog=/sbin/mount
paxprog=/bin/pax
sedprog=/usr/xpg4/bin/sed
- sandboxDirs="/bin /sbin /lib /usr/X11R6 /usr/bin /usr/ccs /usr/games /usr/include /usr/lib /usr/openwin /usr/share /usr/sbin /usr/ucb /usr/xpg4 /var/mail"
+ sandboxDirs="/bin /sbin /kernel /lib /proc /usr/X11R6 /usr/bin /usr/ccs /usr/games /usr/include /usr/lib /usr/openwin /usr/share /usr/sbin /usr/ucb /usr/xpg4 /var/mail"
;;
*)
echo "Unknown Operating System ($opsys) - good luck"
@@ -266,6 +266,13 @@ EOS
chmod +x $sandbox_script
+case $opsys in
+SunOS)
+ $cpprog /etc/mnttab $sandbox/etc/mnttab
+ ;;
+*)
+esac
+
echo "Sandbox creation is now complete"
exit 0