summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrecipes-support/udisks/files/automount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-support/udisks/files/automount.sh b/recipes-support/udisks/files/automount.sh
index 23e0456af..bb0b1ae91 100755
--- a/recipes-support/udisks/files/automount.sh
+++ b/recipes-support/udisks/files/automount.sh
@@ -7,7 +7,7 @@ pathtoname() {
MOUNT_OPTIONS="ro,flush"
rmdir /media/* &> /dev/null || true
-for DEVNAME in $(udisks --enumerate-device-files|grep -e sd[a-z][0-9]); do
+for DEVNAME in $(udisks --enumerate-device-files|grep -e sd[a-z]); do
udisks --mount-options $MOUNT_OPTIONS --mount $DEVNAME
done