From 179e85006c4b278860d4effbc4ddfc06779acc81 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 7 Jul 2004 20:38:02 +0000 Subject: move random stuff to rc.sysinit/halt; move all swap to after this. prereq of bug #123278 --- initscripts.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'initscripts.spec') 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 -- cgit v1.2.1