udisks: hide output of automount script

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-08 01:56:11 +02:00
parent 84fa6fe362
commit 48d6a93ec6

View File

@ -28,7 +28,7 @@
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
DISK=$(echo "$DEVICE" | sed -e "s,/sys/class/block,/dev," -e "s,/removable,,")
for PART in $(ls "$DISK"[0-9]*);do