From: florian Date: Sun, 31 Jan 2010 21:01:21 +0000 (+0000) Subject: [package] /dev/null was used before it was created, so an X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a48c17c2573532cc0267b20544314a44832316ea?ds=sidebyside [package] /dev/null was used before it was created, so an 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 --- diff --git a/package/base-files/files/lib/preinit/20_device_fs_mount b/package/base-files/files/lib/preinit/20_device_fs_mount index 6b2a6e8f3..1f049dade 100644 --- a/package/base-files/files/lib/preinit/20_device_fs_mount +++ b/package/base-files/files/lib/preinit/20_device_fs_mount @@ -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