Hi,

this is only 50% of the work ;)
/dev/null is still a normal file ...

here is the rest of the fix to solve this ...

greets

Am Sonntag 31 Januar 2010 22:01:35 schrieb Florian Fainelli:
> Le dimanche 31 janvier 2010 21:08:12, Daniel Dickinson a écrit :
> > This is because I foolishly used /dev/null before it was created, so an
> > empty file was created.  This prevented the actual device node from
> > being created.  The attached patch fixes that.
> 
> Applied in r19472, thanks!
> 
diff --git a/package/base-files/files/lib/preinit/30_device_fs_daemons b/package/base-files/files/lib/preinit/30_device_fs_daemons
index 5a3aaf3..68a3769 100644
--- a/package/base-files/files/lib/preinit/30_device_fs_daemons
+++ b/package/base-files/files/lib/preinit/30_device_fs_daemons
@@ -23,7 +23,7 @@ init_udev() {
 
 init_device_fs() {
     HOTPLUG=
-    if grep devfs /proc/filesystems > /dev/null; then
+    if grep -q devfs /proc/filesystems ; then
 	init_devfs
     elif [ -x /sbin/hotplug2 ]; then
 	init_hotplug2
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to