Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv2745/config/etc/init.d
Modified Files:
boot
Log Message:
get the devices in order, so we'll be able to boot (at some point)
Index: boot
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/boot,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- boot 5 Apr 2006 19:19:22 -0000 1.29
+++ boot 1 Apr 2007 20:20:29 -0000 1.30
@@ -40,12 +40,21 @@
print_status success
# let's get rid of some leftovers
-rm /etc/udev/rules.d/50*
-rm /etc/udev/permissions.d/50*
+#rm /etc/udev/rules.d/50*
+#rm /etc/udev/permissions.d/50*
echo -n "Creating devices in /dev"
-/sbin/udevstart
-print_status success
+# disable kernel hotplug, udev will handle this
+echo > /proc/sys/kernel/hotplug
+# kill any old udev daemons
+#killall udevd
+/sbin/udevd --daemon
+# make sure all events (even old ones) are handled
+/sbin/udevtrigger
+# now let's wait until udev is done
+/sbin/udevsettle
+evaluate_retval
+#print_status success
if [ -f /proc/sys/kernel/sysrq ]; then
echo -n "Enabling magic SysRq"
|