Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv14817/config/etc/init.d
Modified Files:
beep boot boot.local
Log Message:
added missing groups
added mdev and udev for device creation
fixed boot process
we can boot now !!!
Index: beep
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/beep,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- beep 12 Nov 2005 17:34:39 -0000 1.2
+++ beep 3 Apr 2007 12:01:32 -0000 1.3
@@ -1,4 +1,4 @@
-4#!/bin/bash
+#!/bin/bash
#
# $Source$
# $Revision$
Index: boot.local
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/boot.local,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- boot.local 1 Nov 2005 15:13:45 -0000 1.3
+++ boot.local 3 Apr 2007 12:01:32 -0000 1.4
@@ -7,15 +7,6 @@
#
# http://www.devil-linux.org
-### BEGIN INIT INFO
-# Provides: boot.local
-# Required-Start: boot
-# Required-Stop:
-# Default-Start: B
-# Default-Stop:
-# Description: user specific initialization
-### END INIT INFO
-
# script with local commands to be executed from init on system startup
#
# Here you should add things, that should happen directly after booting
Index: boot
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/boot,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- boot 1 Apr 2007 20:20:29 -0000 1.30
+++ boot 3 Apr 2007 12:01:32 -0000 1.31
@@ -39,22 +39,17 @@
cat /proc/mounts > /etc/mtab
print_status success
-# let's get rid of some leftovers
-#rm /etc/udev/rules.d/50*
-#rm /etc/udev/permissions.d/50*
-
echo -n "Creating devices in /dev"
# 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
+
+ls /dev/
if [ -f /proc/sys/kernel/sysrq ]; then
echo -n "Enabling magic SysRq"
@@ -85,4 +80,7 @@
echo "1 4 1 7" > /proc/sys/kernel/printk
evaluate_retval
+echo "executing boot.local"
+/bin/sh /etc/init.d/boot.local
+
exit 0
|