aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-07-07 20:38:02 +0000
committerBill Nottingham <notting@redhat.com>2004-07-07 20:38:02 +0000
commit179e85006c4b278860d4effbc4ddfc06779acc81 (patch)
treee6d8653e829dc503473336c0af06e747d13f87cd /initscripts.spec
parent59f9e229092c5fd41d5a8cad5a7655a610ca01e5 (diff)
downloadinitscripts-179e85006c4b278860d4effbc4ddfc06779acc81.tar
initscripts-179e85006c4b278860d4effbc4ddfc06779acc81.tar.gz
initscripts-179e85006c4b278860d4effbc4ddfc06779acc81.tar.bz2
initscripts-179e85006c4b278860d4effbc4ddfc06779acc81.tar.xz
initscripts-179e85006c4b278860d4effbc4ddfc06779acc81.zip
move random stuff to rc.sysinit/halt; move all swap to after this.
prereq of bug #123278
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 8e068332..1d78d719 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -71,10 +71,9 @@ touch /var/run/utmp
chown root:utmp /var/log/wtmp /var/run/utmp
chmod 664 /var/log/wtmp /var/run/utmp
-chkconfig --add random
-chkconfig --add netfs
-chkconfig --add network
-chkconfig --add rawdevices
+/sbin/chkconfig --add netfs
+/sbin/chkconfig --add network
+/sbin/chkconfig --add rawdevices
# handle serial installs semi gracefully
if [ $1 = 0 ]; then
@@ -97,14 +96,15 @@ fi
%preun
if [ $1 = 0 ]; then
- chkconfig --del random
- chkconfig --del netfs
- chkconfig --del network
- chkconfig --del rawdevices
+ /sbin/chkconfig --del netfs
+ /sbin/chkconfig --del network
+ /sbin/chkconfig --del rawdevices
fi
+%triggerun -- initscripts <= 7.59
+/sbin/chkconfig --del random
+
%triggerpostun -- initscripts <= 5.04
-/sbin/chkconfig --add random
/sbin/chkconfig --add netfs
/sbin/chkconfig --add network