/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

SVN-Revision: 19472
This commit is contained in:
Florian Fainelli 2010-01-31 21:01:21 +00:00
parent b8d99458ff
commit 7480065917

View 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