summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.d/tmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp
index 8372598..593174d 100755
--- a/etc/rc.d/tmp
+++ b/etc/rc.d/tmp
@@ -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
OpenPOWER on IntegriCloud