core/hotplug/hotplug-2004_09_23-default.patch
2006-02-23 17:19:35 +00:00

15 lines
557 B
Diff

diff -urN hotplug-2004_09_23.orig/etc/hotplug.d/default/default.hotplug hotplug-2004_09_23/etc/hotplug.d/default/default.hotplug
--- hotplug-2004_09_23.orig/etc/hotplug.d/default/default.hotplug 2004-09-20 16:40:27.000000000 -0500
+++ hotplug-2004_09_23/etc/hotplug.d/default/default.hotplug 2005-08-19 15:47:47.172431432 -0500
@@ -23,6 +23,10 @@
# $Id: default.hotplug,v 1.4 2004/09/20 21:40:27 kroah Exp $
#
+if [ ! -e /dev/null ]
+then
+ /bin/mknod -m 0666 /dev/null c 1 3
+fi
exec < /dev/null
test -t 1 || exec > /dev/null
test -t 2 || exec 2>&1