Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8176/config/etc/init.d
Modified Files:
boot checkfs loadkeys localnet mountfs setclock setfileperm
Log Message:
- added missing directory for heartbeat
- changed boot system to use /etc/init.d/boot.d and added boot.local (By
Roland Pabel)
Index: boot
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/boot,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- boot 13 Jan 2004 02:29:49 -0000 1.17
+++ boot 5 Mar 2004 01:55:21 -0000 1.18
@@ -10,18 +10,6 @@
# Initial Startup Script for Devil-Linux
#
-### BEGIN INIT INFO
-# Provides: boot
-# Required-Start:
-# Required-Stop:
-# Default-Start: S
-# Default-Stop:
-# Description: early system initialization
-### END INIT INFO
-
-
-[ "$1" != "start" ] && exit 0
-
#
# Ignore CTRL-C only in this shell, so we can interrupt subprocesses.
#
@@ -56,4 +44,23 @@
modprobe apm power_off=1
fi
+#
+# Start boot.d scripts.
+#
+if test -d /etc/init.d/boot.d/ ; then
+ for i in /etc/init.d/boot.d/S*; do
+ test -x $i || continue
+ /bin/sh $i start
+ done
+fi
+
+#
+# Start user defined bootup script.
+#
+if test -f /etc/init.d/boot.local ; then
+ echo -n "Running /etc/init.d/boot.local"
+ /bin/sh /etc/init.d/boot.local
+ evaluate_retval
+fi
+
exit 0
Index: checkfs
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/checkfs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- checkfs 4 Mar 2004 15:50:10 -0000 1.5
+++ checkfs 5 Mar 2004 01:55:21 -0000 1.6
@@ -5,7 +5,7 @@
# Provides: checkfs
# Required-Start: boot
# Required-Stop:
-# Default-Start: S
+# Default-Start: B
# Default-Stop:
# Description: check the file system for errors
### END INIT INFO
Index: loadkeys
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/loadkeys,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- loadkeys 20 Aug 2003 19:15:35 -0000 1.5
+++ loadkeys 5 Mar 2004 01:55:21 -0000 1.6
@@ -13,7 +13,7 @@
# Provides: loadkeys
# Required-Start: setclock
# Required-Stop:
-# Default-Start: S
+# Default-Start: B
# Default-Stop:
# Description: load keyboard layout
### END INIT INFO
Index: localnet
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/localnet,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- localnet 13 Feb 2002 05:12:35 -0000 1.3
+++ localnet 5 Mar 2004 01:55:21 -0000 1.4
@@ -15,7 +15,7 @@
# Provides: localnet
# Required-Start: setfileperm
# Required-Stop:
-# Default-Start: S
+# Default-Start: B
# Default-Stop: 0 6
# Description: initialize loopback device
### END INIT INFO
Index: mountfs
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/mountfs,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- mountfs 4 Mar 2004 15:50:10 -0000 1.32
+++ mountfs 5 Mar 2004 01:55:21 -0000 1.33
@@ -11,7 +11,7 @@
# Provides: mountfs
# Required-Start: boot checkfs
# Required-Stop:
-# Default-Start: S
+# Default-Start: B
# Default-Stop: 6 0
# Description: mount local file systems
### END INIT INFO
Index: setclock
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/setclock,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- setclock 20 Feb 2002 02:17:56 -0000 1.4
+++ setclock 5 Mar 2004 01:55:21 -0000 1.5
@@ -15,7 +15,7 @@
# Provides: setclock
# Required-Start: localnet
# Required-Stop:
-# Default-Start: S
+# Default-Start: B
# Default-Stop:
# Description: setup the system clock
### END INIT INFO
Index: setfileperm
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/setfileperm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- setfileperm 20 Feb 2002 02:17:56 -0000 1.8
+++ setfileperm 5 Mar 2004 01:55:21 -0000 1.9
@@ -13,7 +13,7 @@
# Provides: setfileperm
# Required-Start: mountfs
# Required-Stop:
-# Default-Start: S
+# Default-Start: B
# Default-Stop:
# Description: set file permissions
### END INIT INFO
|