mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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_CMD="mount_common"
|
||||||
MOUNT_TARGET="$1"
|
MOUNT_TARGET="$1"
|
||||||
# check filesystem
|
# check filesystem
|
||||||
/sbin/fsck -a $1 &>/dev/null
|
if [ -x /sbin/fsck ]; then
|
||||||
|
/sbin/fsck -a $1 &>/dev/null
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
CIFS=*|SMB=*)
|
CIFS=*|SMB=*)
|
||||||
MOUNT_CMD="mount_cifs"
|
MOUNT_CMD="mount_cifs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user