diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-05-15 11:54:35 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-05-15 11:54:35 +0000 |
commit | 89699e6bc100cb4df9bfc78e5c2dbbae49bc0a53 (patch) | |
tree | e5b0b566982c40553d94000e874c8846965f0c89 /distrib/miniroot | |
parent | 54d1a2383e957320d030de3039d0385641307b71 (diff) |
Insert entry for /var/tmp to /etc/fstab like /tmp one,i.e. nosuid and nodev
Idea from form@.
millert@, krw@ ok
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index 761dee94778..2c933961a57 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sh,v 1.100 2002/04/30 04:14:18 krw Exp $ +# $OpenBSD: install.sh,v 1.101 2002/05/15 11:54:34 mpech Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback @@ -269,7 +269,7 @@ if [ ! -f /etc/fstab ]; then while read _dev _mp; do case $_mp in "/") echo /dev/$_dev $_mp ffs rw 1 1;; - "/tmp") echo /dev/$_dev $_mp ffs rw,nosuid,nodev 1 2;; + "/tmp"|"/var/tmp") echo /dev/$_dev $_mp ffs rw,nosuid,nodev 1 2;; *) echo /dev/$_dev $_mp ffs rw 1 2;; esac done |