From 623e3fac060b0f4b32c0ec767d76ef57f5040ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sat, 7 Mar 2009 20:16:45 +0100 Subject: Use the device nodes from /lib/udev/devices/* instead of hardcoding them in initscripts. This requires a new udev package (at least 139-1) --- rc.sysinit | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 67ceb40..c0435a7 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -19,19 +19,8 @@ printsep /bin/mount -n -t proc none /proc /bin/mount -n -t sysfs none /sys -# Create our default nodes that minilogd may need -/bin/mknod /dev/null c 1 3 -/bin/mknod /dev/zero c 1 5 -/bin/mknod /dev/console c 5 1 - -# More initial /dev setup that udev doesn't do -/bin/ln -snf /proc/self/fd /dev/fd -/bin/ln -snf /proc/self/fd/0 /dev/stdin -/bin/ln -snf /proc/self/fd/1 /dev/stdout -/bin/ln -snf /proc/self/fd/2 /dev/stderr -/bin/ln -snf /proc/kcore /dev/core -/bin/mkdir /dev/pts -/bin/mkdir /dev/shm +# Copy static device nodes to /dev +/bin/cp -a /lib/udev/devices/* /dev/ # start up our mini logger until syslog takes over /sbin/minilogd -- cgit v1.2.3