]> Zhao Yanbai Git Server - minix.git/commitdiff
/home fixes
authorBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 16:26:22 +0000 (16:26 +0000)
committerBen Gras <ben@minix3.org>
Thu, 1 Sep 2005 16:26:22 +0000 (16:26 +0000)
etc/rc

diff --git a/etc/rc b/etc/rc
index 4987bfc546760646a4d7cd51c763910fbac92c66..a3526499dffc409d9b0efe23a8d13282942d9fb9 100755 (executable)
--- a/etc/rc
+++ b/etc/rc
@@ -135,7 +135,10 @@ Mount $usr /usr failed -- Single user."
        then    intr fsck -r $home
        fi
        mount $usr /usr
-       mount $home /home
+    fi
+
+    if [ ! -z "$home" ]
+    then mount $home /home || echo 'WARNING: couldn't mount $home on /home"
     fi
 
     # This file is necessary for above 'shutdown -C' check.