]> TLD Linux GIT Repositories - rc-scripts.git/commitdiff
- merged fsck fix (exclude tmpfs filesystems)
authorMarcin Krol <hawk@tld-linux.org>
Tue, 14 Jul 2015 13:31:39 +0000 (13:31 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 14 Jul 2015 13:31:39 +0000 (13:31 +0000)
rc.d/rc.sysinit

index c1f4adb8eb8cd3e1aa830208fd84f46ce6217fab..c7375feae9db3825c00e10ba8164df82b905a06e 100755 (executable)
@@ -560,7 +560,7 @@ if ! is_yes "$VSERVER" && [[ "$container" != lxc* ]]; then
        _ROOTFS_DEVICE=$(awk '($1 !~ /^#/ && $2 == "/" && NF >= 6) { print $1}' /etc/fstab)
        _ROOTFS_TYPE=$(awk '$2 == "/" && $3 != "rootfs" { print $3 }' /proc/mounts 2>/dev/null)
 
-       if [ -z "$fastboot" -a "$_ROOTFS_TYPE" != "aufs" -a "$_ROOTFS_TYPE" != "nfs" -a "$_ROOTFS_TYPE" != "romfs" -a "$_ROOTFS_TYPE" != "squashfs" -a "$_ROOTFS_PASSNO" != 0 -a -e $_ROOTFS_DEVICE ] && [[ "$container" != lxc* ]]; then
+       if [ -z "$fastboot" -a "$_ROOTFS_TYPE" != "aufs" -a "$_ROOTFS_TYPE" != "nfs" -a "$_ROOTFS_TYPE" != "romfs" -a "$_ROOTFS_TYPE" != "tmpfs" -a "$_ROOTFS_TYPE" != "squashfs" -a "$_ROOTFS_PASSNO" != 0 -a -e $_ROOTFS_DEVICE ] && [[ "$container" != lxc* ]]; then
                check_root_fs
        fi