summaryrefslogtreecommitdiffstats
path: root/meta/packages/udev/files/mount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/udev/files/mount.sh')
-rw-r--r--meta/packages/udev/files/mount.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/udev/files/mount.sh b/meta/packages/udev/files/mount.sh
index 0ce1dc7217..53fefa3681 100644
--- a/meta/packages/udev/files/mount.sh
+++ b/meta/packages/udev/files/mount.sh
@@ -9,9 +9,9 @@ MOUNT="/bin/mount"
9PMOUNT="/usr/bin/pmount" 9PMOUNT="/usr/bin/pmount"
10UMOUNT="/bin/umount" 10UMOUNT="/bin/umount"
11 11
12for line in `grep -v ^# /etc/udev/mount.blacklist` 12for line in `cat /etc/udev/mount.blacklist`
13do 13do
14 if { echo "$DEVNAME" | grep -q "$line" ; } 14 if [ ` expr match "$DEVNAME" "$line" ` -gt 0 ];
15 then 15 then
16 logger "udev/mount.sh" "[$DEVNAME] is blacklisted, ignoring" 16 logger "udev/mount.sh" "[$DEVNAME] is blacklisted, ignoring"
17 exit 0 17 exit 0