aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-10-12 01:00:13 +0000
committerBill Nottingham <notting@redhat.com>2004-10-12 01:00:13 +0000
commit441734ed2cd0eb0fbe5f4415e189e7d9b4bc8109 (patch)
tree26a4b81ead3d02bd90eca4aecf1f19d7222c4bc6 /initscripts.spec
parent5936ff2424df5881df53adb3f85d3a7335488967 (diff)
downloadinitscripts-441734ed2cd0eb0fbe5f4415e189e7d9b4bc8109.tar
initscripts-441734ed2cd0eb0fbe5f4415e189e7d9b4bc8109.tar.gz
initscripts-441734ed2cd0eb0fbe5f4415e189e7d9b4bc8109.tar.bz2
initscripts-441734ed2cd0eb0fbe5f4415e189e7d9b4bc8109.tar.xz
initscripts-441734ed2cd0eb0fbe5f4415e189e7d9b4bc8109.zip
return of rawdevices stuff
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 2371aa4e..ddf13be8 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -76,6 +76,7 @@ chmod 664 /var/log/wtmp /var/run/utmp
/sbin/chkconfig --add netfs
/sbin/chkconfig --add network
+/sbin/chkconfig --add rawdevices
# handle serial installs semi gracefully
if [ $1 = 0 ]; then
@@ -100,16 +101,13 @@ fi
if [ $1 = 0 ]; then
/sbin/chkconfig --del netfs
/sbin/chkconfig --del network
+ /sbin/chkconfig --del rawdevices
fi
%triggerun -- initscripts <= 7.59
/sbin/chkconfig --del random
exit 0
-%triggerun -- initscripts < 7.62
-/sbin/chkconfig --del rawdevices
-exit 0
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -128,6 +126,7 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/sysconfig/networking/devices
%dir /etc/sysconfig/networking/profiles
%dir /etc/sysconfig/networking/profiles/default
+%config(noreplace) /etc/sysconfig/rawdevices
%config /etc/sysconfig/network-scripts/network-functions
%config /etc/sysconfig/network-scripts/network-functions-ipv6
%config /etc/sysconfig/network-scripts/init.ipv6-global