diff options
| -rw-r--r-- | meta/recipes-core/udev/udev-extraconf/mount.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh index 99c76b2530..97af608398 100644 --- a/meta/recipes-core/udev/udev-extraconf/mount.sh +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh | |||
| @@ -21,6 +21,11 @@ automount() { | |||
| 21 | name="`basename "$DEVNAME"`" | 21 | name="`basename "$DEVNAME"`" |
| 22 | 22 | ||
| 23 | ! test -d "/media/$name" && mkdir -p "/media/$name" | 23 | ! test -d "/media/$name" && mkdir -p "/media/$name" |
| 24 | # Silent util-linux's version of mounting auto | ||
| 25 | if [ "x`readlink $MOUNT`" = "x/bin/mount.util-linux" ] ; | ||
| 26 | then | ||
| 27 | MOUNT="$MOUNT -o silent" | ||
| 28 | fi | ||
| 24 | 29 | ||
| 25 | if ! $MOUNT -t auto $DEVNAME "/media/$name" | 30 | if ! $MOUNT -t auto $DEVNAME "/media/$name" |
| 26 | then | 31 | then |
