X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a9929695c6ad0779eaa8cb3d68d37760981d55b7..8ef0e1eb51ad54bbcd21bf22dc3af695120beb2a:/package/base-files/files/lib/preinit/30_device_fs_daemons diff --git a/package/base-files/files/lib/preinit/30_device_fs_daemons b/package/base-files/files/lib/preinit/30_device_fs_daemons index 5a3aaf3d6..5b3e2ad00 100644 --- a/package/base-files/files/lib/preinit/30_device_fs_daemons +++ b/package/base-files/files/lib/preinit/30_device_fs_daemons @@ -23,7 +23,7 @@ init_udev() { init_device_fs() { HOTPLUG= - if grep devfs /proc/filesystems > /dev/null; then + if grep -q devfs /proc/filesystems; then init_devfs elif [ -x /sbin/hotplug2 ]; then init_hotplug2