aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-01-31 21:01:21 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-01-31 21:01:21 +0000
commit748006591704110d2b57fe222c963d08c91b73a2 (patch)
tree8167eafe906069087aeaad004004d80aa7963089 /package/base-files/files/lib/preinit
parentb8d99458ffe83a3c782e26e0cd07d26d41bfeefc (diff)
downloadupstream-748006591704110d2b57fe222c963d08c91b73a2.tar.gz
upstream-748006591704110d2b57fe222c963d08c91b73a2.tar.bz2
upstream-748006591704110d2b57fe222c963d08c91b73a2.zip
/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
Diffstat (limited to 'package/base-files/files/lib/preinit')
-rw-r--r--package/base-files/files/lib/preinit/20_device_fs_mount2
1 files changed, 1 insertions, 1 deletions
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 6b2a6e8f3b..1f049dade0 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