aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-15 17:06:55 +0000
committerMatt Wilson <msw@redhat.com>2000-07-15 17:06:55 +0000
commit361d037cb2da064bdd4fc34b4fd4f714d98db8ed (patch)
treef569e5077e2bdb714a32d35fc1609da40e68873c /initscripts.spec
parent28e1df6646e451402f1c5d3b949acadecb501de8 (diff)
downloadinitscripts-361d037cb2da064bdd4fc34b4fd4f714d98db8ed.tar
initscripts-361d037cb2da064bdd4fc34b4fd4f714d98db8ed.tar.gz
initscripts-361d037cb2da064bdd4fc34b4fd4f714d98db8ed.tar.bz2
initscripts-361d037cb2da064bdd4fc34b4fd4f714d98db8ed.tar.xz
initscripts-361d037cb2da064bdd4fc34b4fd4f714d98db8ed.zip
move things back
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 0c48cd24..ee5d191d 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -59,17 +59,19 @@ ln -s ../rc.local $RPM_BUILD_ROOT/etc/rc.d/rc2.d/S99local
ln -s ../rc.local $RPM_BUILD_ROOT/etc/rc.d/rc3.d/S99local
ln -s ../rc.local $RPM_BUILD_ROOT/etc/rc.d/rc5.d/S99local
+# These are LSB compatibility symlinks. At some point in the future
+# the actual files will be here instead of symlinks
for i in 0 1 2 3 4 5 6 ; do
ln -s rc.d/rc$i.d $RPM_BUILD_ROOT/etc/rc$i.d
done
-
-ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
+for i in init.d rc rc.sysinit; do
+ ln -s rc.d/$i $RPM_BUILD_ROOT/etc/$i
+done
mkdir -p $RPM_BUILD_ROOT/var/{log,run}
touch $RPM_BUILD_ROOT/var/run/utmp
touch $RPM_BUILD_ROOT/var/log/wtmp
-
%pre
/usr/sbin/groupadd -g 22 -r -f utmp
@@ -193,6 +195,8 @@ rm -rf $RPM_BUILD_ROOT
/etc/rc[0-9].d
%config(missingok) /etc/rc.d/rc[0-9].d/*
/etc/init.d
+/etc/rc
+/etc/rc.sysinit
%config(missingok) /etc/rc.d/init.d/*
%config /etc/rc.d/rc
%config(noreplace) /etc/rc.d/rc.local