Commit bd9e1cda authored by Franco Fichtner's avatar Franco Fichtner

rc: always force an fsck after unclean shutdown

(cherry picked from commit 80dc8457)
(cherry picked from commit 0273d265)
parent 17c8452e
......@@ -47,11 +47,12 @@ done < /etc/fstab
attempts=0
while [ ${attempts} -lt 3 ]; do
fsck -C -y /
fsck -C -y /
if mount -a 2>/dev/null; then
# bail if all is well
break
fi
fsck -y /
attempts=$((attempts+1))
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment