From: Marcin Krol Date: Tue, 14 Jul 2015 13:31:39 +0000 (+0000) Subject: - merged fsck fix (exclude tmpfs filesystems) X-Git-Tag: 0.4.14~4 X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=94ec8ca43d5c1ce5d50a36ca4f3d63eb9b28a58c;p=rc-scripts.git - merged fsck fix (exclude tmpfs filesystems) --- diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index c1f4adb..c7375fe 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -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