/dev/null was used before it was created, so an empty file was created. This prevente...
authorFlorian Fainelli <florian@openwrt.org>
Sun, 31 Jan 2010 21:01:21 +0000 (21:01 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 31 Jan 2010 21:01:21 +0000 (21:01 +0000)
SVN-Revision: 19472

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

index 6b2a6e8f3bc77f2e01460f797113ac14f5f36b0e..1f049dade0bc0fe26fa43ec8121f83569eca0ed7 100644 (file)
@@ -15,7 +15,7 @@ do_mount_udev() {
 }
 
 choose_device_fs() {
-    if grep devfs /proc/filesystems > /dev/null; then
+    if grep devfs /proc/filesystems; then
         do_mount_devfs
     elif [ -x /sbin/hotplug2 ]; then
         do_mount_hotplug