aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
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
commite6eeb6cbf20bf62a0a891e8e1b1c63369dbf08a2 (patch)
tree70a77d0ea30414f823452b523742c680a3ce3b02 /package/base-files
parenta300ad427a326ec86bbb47bc54c604f698f50fde (diff)
downloadmaster-187ad058-e6eeb6cbf20bf62a0a891e8e1b1c63369dbf08a2.tar.gz
master-187ad058-e6eeb6cbf20bf62a0a891e8e1b1c63369dbf08a2.tar.bz2
master-187ad058-e6eeb6cbf20bf62a0a891e8e1b1c63369dbf08a2.zip
[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
Diffstat (limited to 'package/base-files')
-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