From fe1936d1160bc457d45d24c50569194aa44b564a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 7 Sep 2005 03:31:12 +0000 Subject: Reverse order of mount -a so that we do not trigger a fsck -y each boot --- etc/rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index ebb74ee..4c99753 100755 --- a/etc/rc +++ b/etc/rc @@ -44,11 +44,14 @@ fi # Mount all. If it fails run a fsck. /sbin/mount -w / || /sbin/fsck -y -/sbin/mount -a + if grep cf /etc/fstab; then /sbin/mount -w /cf || /sbin/fsck -y fi +# Mount memory file system if it exists +/sbin/mount -a + if [ "$PLATFORM" = "cdrom" ] ; then echo "No swap on ${PLATFORM}" elif [ "$PLATFORM" = "embedded" ] ; then -- cgit v1.1