[Pkg-sysvinit-commits] r420 - sysvinit/trunk/debian/initscripts/etc/init.d

Thomas Hood jdthood-guest at costa.debian.org
Tue Dec 20 12:46:59 UTC 2005


Author: jdthood-guest
Date: 2005-12-20 12:46:58 +0000 (Tue, 20 Dec 2005)
New Revision: 420

Modified:
   sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs
Log:
Mount /dev/shm later

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs	2005-12-20 12:46:03 UTC (rev 419)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountvirtfs	2005-12-20 12:46:58 UTC (rev 420)
@@ -152,19 +152,6 @@
 fi
 
 	#
-	# Mount /dev/shm
-	#
-	SHM_OPT=
-	if [ "$SHM_SIZE" ]
-	then
-		SHM_OPT="-osize=$SHM_SIZE"
-	elif [ "$TMPFS_SIZE" ]
-	then
-		SHM_OPT="-osize=$TMPFS_SIZE"
-	fi
-	domount tmpfs shmfs /dev/shm $SHM_OPT
-
-	#
 	# Initialize mtab
 	#
 	DO_MTAB=
@@ -207,6 +194,19 @@
 	fi
 
 	#
+	# Mount /dev/shm
+	#
+	SHM_OPT=
+	if [ "$SHM_SIZE" ]
+	then
+		SHM_OPT="-osize=$SHM_SIZE"
+	elif [ "$TMPFS_SIZE" ]
+	then
+		SHM_OPT="-osize=$TMPFS_SIZE"
+	fi
+	domount tmpfs shmfs /dev/shm $SHM_OPT
+
+	#
 	# Mount /dev/pts. Create master ptmx node if needed.
 	#
 	# As of 2.5.68, devpts is not automounted when using devfs. So we




More information about the Pkg-sysvinit-commits mailing list