mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
udisks: force filesystem check on supported devices
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ec67d66b00
commit
6bd2b6c39d
@ -40,6 +40,7 @@
|
||||
USAGE="`show_info "usage" $DEVICE`"
|
||||
|
||||
if [ "$REMOVABLE" = "0" -a "$MOUNTED" = "0" -a "$USAGE" = "filesystem" ]; then
|
||||
fsck "$DEVICE" >/dev/null
|
||||
udisks --mount "$DEVICE" >/dev/null
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user