aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec11
-rwxr-xr-xrc.d/init.d/network3
-rwxr-xr-xrc.d/init.d/nfsfs3
-rwxr-xr-xrc.d/init.d/random3
4 files changed, 13 insertions, 7 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 280c1d1c..9a7c7a41 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: inittab and /etc/rc.d scripts
Name: initscripts
-%define version 3.17
+%define version 3.18
Version: %{version}
Copyright: GPL
Group: Base
@@ -231,12 +231,9 @@ if [ ! -f /var/log/wtmp ]; then
touch /var/log/wtmp
fi
-chkconfig --add random 2345 20 80 "Saves and restores system entropy pool \
-for higher quality random number generation."
-chkconfig --add nfsfs 345 15 95 "[Un]Mounts all Network File System (NFS) \
-mount points."
-chkconfig --add network 345 10 97 "Activates/Deactivates all network \
-interfaces configured to start at boot time."
+chkconfig --add random
+chkconfig --add nfsfs
+chkconfig --add network
%postun
if [ $1 = 0 ]; then
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 150fa3d7..b7a80705 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -2,6 +2,9 @@
#
# network Bring up/down networking
#
+# chkconfig: 345 10 97
+# description: Activates/Deactivates all network interfaces configured to \
+# start at boot time.
# Source function library.
. /etc/rc.d/init.d/functions
diff --git a/rc.d/init.d/nfsfs b/rc.d/init.d/nfsfs
index 6da8eaa9..3377d940 100755
--- a/rc.d/init.d/nfsfs
+++ b/rc.d/init.d/nfsfs
@@ -6,6 +6,9 @@
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#
+# chkconfig: 345 15 95
+# description: Mounts and unmounts all Network File System (NFS) \
+# mount points.
# Source networking configuration.
if [ ! -f /etc/sysconfig/network ]; then
diff --git a/rc.d/init.d/random b/rc.d/init.d/random
index 348f0295..aeef33be 100755
--- a/rc.d/init.d/random
+++ b/rc.d/init.d/random
@@ -4,6 +4,9 @@
#
# Author: Theodore Ts'o <tytso@mit.edu>
#
+# chkconfig: 2345 20 80
+# description: Saves and restores system entropy pool for higher quality \
+# random number generation.
random_seed=/var/run/random-seed