X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a9929695c6ad0779eaa8cb3d68d37760981d55b7..437bd1772aceb2fc48ac5b11d68b366d0516715e:/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