diff options
Diffstat (limited to 'meta/packages/udev/files/mount.sh')
-rw-r--r-- | meta/packages/udev/files/mount.sh | 4 |
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" | |||
9 | PMOUNT="/usr/bin/pmount" | 9 | PMOUNT="/usr/bin/pmount" |
10 | UMOUNT="/bin/umount" | 10 | UMOUNT="/bin/umount" |
11 | 11 | ||
12 | for line in `grep -v ^# /etc/udev/mount.blacklist` | 12 | for line in `cat /etc/udev/mount.blacklist` |
13 | do | 13 | do |
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 |