mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +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"
|
progress "automount internal disks"
|
||||||
|
|
||||||
|
wait_for_dbus
|
||||||
|
|
||||||
drive_dump () {
|
drive_dump () {
|
||||||
udisks --dump | tr -d ' ' | grep 'device-file:' | cut -d ':' -f2
|
udisks --dump | tr -d ' ' | grep 'device-file:' | cut -d ':' -f2
|
||||||
}
|
}
|
||||||
@ -40,7 +42,6 @@
|
|||||||
USAGE="`show_info "usage" $DEVICE`"
|
USAGE="`show_info "usage" $DEVICE`"
|
||||||
|
|
||||||
if [ "$REMOVABLE" = "0" -a "$MOUNTED" = "0" -a "$USAGE" = "filesystem" ]; then
|
if [ "$REMOVABLE" = "0" -a "$MOUNTED" = "0" -a "$USAGE" = "filesystem" ]; then
|
||||||
wait_for_dbus
|
|
||||||
udisks --mount "$DEVICE" >/dev/null
|
udisks --mount "$DEVICE" >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user