[package] /dev/null was used before it was created, so an
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 31 Jan 2010 21:01:21 +0000 (21:01 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 31 Jan 2010 21:01:21 +0000 (21:01 +0000)
empty file was created.  This prevented the actual device node from
being created.  The attached patch fixes that, patch from cshore

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19472 3c298f89-4303-0410-b956-a3cf2f4a3e73

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