aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/udisks/files/automount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/udisks/files/automount.sh')
-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 23e0456a..bb0b1ae9 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