aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-03-27 21:01:33 +0000
committerBill Nottingham <notting@redhat.com>2000-03-27 21:01:33 +0000
commit80bc89b7e4a94fee18f708d9f1129f5415d548fa (patch)
tree506067ad5551604cd8cfff1079e1537fb01ce26e /initscripts.spec
parent167c4a01e39bea20e25b48a8620870313cd02ba8 (diff)
downloadinitscripts-80bc89b7e4a94fee18f708d9f1129f5415d548fa.tar
initscripts-80bc89b7e4a94fee18f708d9f1129f5415d548fa.tar.gz
initscripts-80bc89b7e4a94fee18f708d9f1129f5415d548fa.tar.bz2
initscripts-80bc89b7e4a94fee18f708d9f1129f5415d548fa.tar.xz
initscripts-80bc89b7e4a94fee18f708d9f1129f5415d548fa.zip
remove compatiblity chkconfig links
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec31
1 files changed, 6 insertions, 25 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 8a453e88..4930b870 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/rc.d scripts.
Name: initscripts
-Version: 5.03
+Version: 5.04
Copyright: GPL
Group: System Environment/Base
Release: 1
@@ -46,30 +46,6 @@ for i in 0 1 2 3 4 5 6 ; do
done
# Can't store symlinks in a CVS archive
-ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc0.d/K80random
-ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc1.d/S20random
-ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc2.d/S20random
-ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc3.d/S20random
-ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc4.d/S20random
-ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc5.d/S20random
-ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc6.d/K80random
-
-ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc0.d/K75netfs
-ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc1.d/K75netfs
-ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc2.d/K75netfs
-ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc3.d/S25netfs
-ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc4.d/S25netfs
-ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc5.d/S25netfs
-ln -s ../init.d/netfs $RPM_BUILD_ROOT/etc/rc.d/rc6.d/K75netfs
-
-ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc0.d/K90network
-ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc1.d/K90network
-ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc2.d/S10network
-ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc3.d/S10network
-ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc4.d/S10network
-ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc5.d/S10network
-ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc6.d/K90network
-
ln -s ../init.d/killall $RPM_BUILD_ROOT/etc/rc.d/rc0.d/S00killall
ln -s ../init.d/killall $RPM_BUILD_ROOT/etc/rc.d/rc6.d/S00killall
@@ -126,6 +102,11 @@ if [ $1 = 0 ]; then
chkconfig --del network
fi
+%triggerpostun -- initscripts <= 5.04
+/sbin/chkconfig --add random
+/sbin/chkconfig --add netfs
+/sbin/chkconfig --add network
+
%triggerpostun -- initscripts <= 4.72
. /etc/sysconfig/init