mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox-initramfs: only run fsck if installed
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9efdc51beb
commit
e57640e355
@ -275,7 +275,9 @@
|
||||
MOUNT_CMD="mount_common"
|
||||
MOUNT_TARGET="$1"
|
||||
# check filesystem
|
||||
/sbin/fsck -a $1 &>/dev/null
|
||||
if [ -x /sbin/fsck ]; then
|
||||
/sbin/fsck -a $1 &>/dev/null
|
||||
fi
|
||||
;;
|
||||
CIFS=*|SMB=*)
|
||||
MOUNT_CMD="mount_cifs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user