MFP4 214344:
Tighten the regular expression that checks for an md /tmp such that no /tmp mount and an md / isn't improperly matched. Sponsored by: DARPA/AFRL
This commit is contained in:
parent
9efc00598b
commit
ba7f643097
@ -39,7 +39,7 @@ load_rc_config $name
|
||||
|
||||
mount_tmpmfs()
|
||||
{
|
||||
if ! /bin/df /tmp | grep -q "^/dev/md[0-9]"; then
|
||||
if ! /bin/df /tmp | grep -q "^/dev/md[0-9].* /tmp"; then
|
||||
mount_md ${tmpsize} /tmp "${tmpmfs_flags}"
|
||||
chmod 01777 /tmp
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user