mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
udisks: fix udisks start script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
32dfbccb57
commit
7e889d3ad0
@ -26,6 +26,8 @@
|
||||
(
|
||||
progress "automount internal disks"
|
||||
|
||||
wait_for_dbus
|
||||
|
||||
drive_dump () {
|
||||
udisks --dump | tr -d ' ' | grep 'device-file:' | cut -d ':' -f2
|
||||
}
|
||||
@ -40,7 +42,6 @@
|
||||
USAGE="`show_info "usage" $DEVICE`"
|
||||
|
||||
if [ "$REMOVABLE" = "0" -a "$MOUNTED" = "0" -a "$USAGE" = "filesystem" ]; then
|
||||
wait_for_dbus
|
||||
udisks --mount "$DEVICE" >/dev/null
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user