summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib/preinit
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-01-31 21:09:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-01-31 21:09:53 +0000
commitb93682af1455048d2e1093f94d571643685b3ae1 (patch)
tree1f1196c66f31bedb42e0a44dd3149653df39a45f /package/base-files/files/lib/preinit
parent748006591704110d2b57fe222c963d08c91b73a2 (diff)
downloadmtk-20170518-b93682af1455048d2e1093f94d571643685b3ae1.zip
mtk-20170518-b93682af1455048d2e1093f94d571643685b3ae1.tar.gz
mtk-20170518-b93682af1455048d2e1093f94d571643685b3ae1.tar.bz2
quieten the check for devs, thanks nbd
SVN-Revision: 19473
Diffstat (limited to 'package/base-files/files/lib/preinit')
-rw-r--r--package/base-files/files/lib/preinit/20_device_fs_mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/preinit/20_device_fs_mount b/package/base-files/files/lib/preinit/20_device_fs_mount
index 1f049da..f82f9a6 100644
--- a/package/base-files/files/lib/preinit/20_device_fs_mount
+++ b/package/base-files/files/lib/preinit/20_device_fs_mount
@@ -15,7 +15,7 @@ do_mount_udev() {
}
choose_device_fs() {
- if grep devfs /proc/filesystems; then
+ if grep -q devfs /proc/filesystems; then
do_mount_devfs
elif [ -x /sbin/hotplug2 ]; then
do_mount_hotplug