mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
- do not create and mount new file systems on top of the old ones on every
invocation of this script once we already have one (in case tmpmfs="YES"). Reviewed by: dougb
This commit is contained in:
parent
f2eb372e02
commit
d4d65a21bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192246
@ -43,8 +43,10 @@ load_rc_config $name
|
||||
#
|
||||
case "${tmpmfs}" in
|
||||
[Yy][Ee][Ss])
|
||||
mount_md ${tmpsize} /tmp "${tmpmfs_flags}"
|
||||
chmod 01777 /tmp
|
||||
if ! /bin/df /tmp | grep -q "^/dev/md[0-9]"; then
|
||||
mount_md ${tmpsize} /tmp "${tmpmfs_flags}"
|
||||
chmod 01777 /tmp
|
||||
fi
|
||||
;;
|
||||
[Nn][Oo])
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user