mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 04:36:40 +00:00
udisks: hide output of automount script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
84fa6fe362
commit
48d6a93ec6
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
wait_for_dbus
|
wait_for_dbus
|
||||||
|
|
||||||
for DEVICE in `find /sys/class/block/sd*/removable`; do
|
for DEVICE in `find /sys/class/block/sd*/removable > /dev/null 2>&1`; do
|
||||||
if [ "$(cat $DEVICE)" = "0" ]; then
|
if [ "$(cat $DEVICE)" = "0" ]; then
|
||||||
DISK=$(echo "$DEVICE" | sed -e "s,/sys/class/block,/dev," -e "s,/removable,,")
|
DISK=$(echo "$DEVICE" | sed -e "s,/sys/class/block,/dev," -e "s,/removable,,")
|
||||||
for PART in $(ls "$DISK"[0-9]*);do
|
for PART in $(ls "$DISK"[0-9]*);do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user