[package] quieten the check for devs, thanks nbd
authorFlorian Fainelli <florian@openwrt.org>
Sun, 31 Jan 2010 21:09:53 +0000 (21:09 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 31 Jan 2010 21:09:53 +0000 (21:09 +0000)
SVN-Revision: 19473

package/base-files/files/lib/preinit/20_device_fs_mount

index 1f049dade0bc0fe26fa43ec8121f83569eca0ed7..f82f9a6f45f89d52ad194b13bec4e0c33f7a8840 100644 (file)
@@ -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