diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-17 23:25:25 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-17 23:25:25 -0500 |
commit | 382c3be6e3fd59660516b4315dee70f5cdded0a8 (patch) | |
tree | 774c24e113aba88cf31fb94865cd7e635ae7555f /package/base-files/src/etc/mdev/fs | |
parent | fc3f10a48696ad1b28ab8d5cfd09bfbc7d593136 (diff) |
be more quiet
Diffstat (limited to 'package/base-files/src/etc/mdev/fs')
-rwxr-xr-x | package/base-files/src/etc/mdev/fs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/src/etc/mdev/fs b/package/base-files/src/etc/mdev/fs index 084ecd9a1..4f1e100f4 100755 --- a/package/base-files/src/etc/mdev/fs +++ b/package/base-files/src/etc/mdev/fs @@ -26,7 +26,7 @@ fi # check if already mounted via /etc/init.d/fs adk_check() { - mount | grep "${MDEV} " + mount | grep "${MDEV}[[:blank:]]" if [ $? -eq 0 ];then logger -t mdev "Filesystem on ${MDEV} already mounted" exit 0 @@ -47,7 +47,7 @@ adk_mount() { grep $procfs /proc/filesystems >/dev/null 2>&1 if [ $? -eq 0 ];then logger -t mdev "Mounting $disk to $mnt" - mount $mnt + mount $mnt 2>/dev/null if [ $? -ne 0 ];then logger -s -t 'Filesystem' "Mounting $disk failed" fi |