[Midnightbsd-cvs] src [11637] trunk/etc/rc.d/tmp: be more specific

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jul 8 13:47:09 EDT 2018


Revision: 11637
          http://svnweb.midnightbsd.org/src/?rev=11637
Author:   laffer1
Date:     2018-07-08 13:47:09 -0400 (Sun, 08 Jul 2018)
Log Message:
-----------
be more specific

Modified Paths:
--------------
    trunk/etc/rc.d/tmp

Modified: trunk/etc/rc.d/tmp
===================================================================
--- trunk/etc/rc.d/tmp	2018-07-08 17:46:20 UTC (rev 11636)
+++ trunk/etc/rc.d/tmp	2018-07-08 17:47:09 UTC (rev 11637)
@@ -25,7 +25,6 @@
 # SUCH DAMAGE.
 #
 # $MidnightBSD$
-#
 
 # PROVIDE: tmp
 # REQUIRE: mountcritremote
@@ -37,9 +36,9 @@
 
 load_rc_config $name
 
-mount_tmpmfs ()
+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



More information about the Midnightbsd-cvs mailing list