Revert "init: e2fsck /storage"

This reverts commit f7d87a2380c7dab9e75dbd99f74b008cc0d761ca.
This commit is contained in:
Stephan Raue 2014-06-04 16:29:52 +02:00
parent f7d87a2380
commit cbfe2fa62a

View File

@ -445,8 +445,6 @@
mount_storage() {
progress "Mounting storage"
check_part $disk
wakeonlan
if [ -n "$disk" ]; then
@ -471,24 +469,6 @@
fi
}
check_part() {
case $1 in
# skip if non local fs
LABEL=*|UUID=*|/*)
progress "checking $1"
# assuming /storage is ext234, e2fsck -p is safe
# if not ext234, I dont care. I dont want to support non-ext234 /storage
/sbin/e2fsck -p $1 &>/dev/null
if [ $? -eq 4 -o $? -eq 8 ] ; then
# TODO: e2fsck -y (a call for disaster)
# or debug shell + some info for how to manualy repair
: # k0p k0p placeholder. do nothing
fi
;;
esac
}
check_update() {
progress "Checking for updates"