aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-06-15 19:11:05 +0000
committerBill Nottingham <notting@redhat.com>2000-06-15 19:11:05 +0000
commit24b599bafe2b79c8bf4a2475f44b10a22a42e712 (patch)
treea626469f1f8c5050acd2a4deb8ae3876df09f471
parent25e4b74a30d0c629e45bdec4565d20961fc81828 (diff)
downloadinitscripts-24b599bafe2b79c8bf4a2475f44b10a22a42e712.tar
initscripts-24b599bafe2b79c8bf4a2475f44b10a22a42e712.tar.gz
initscripts-24b599bafe2b79c8bf4a2475f44b10a22a42e712.tar.bz2
initscripts-24b599bafe2b79c8bf4a2475f44b10a22a42e712.tar.xz
initscripts-24b599bafe2b79c8bf4a2475f44b10a22a42e712.zip
*** empty log message ***r5-18
-rw-r--r--Makefile2
-rw-r--r--initscripts.spec3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d10a71cd..91f9a926 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ install:
mkdir -p $(ROOT)/etc/sysconfig/console
install -m644 sysconfig/init $(ROOT)/etc/sysconfig/init
cp -af rc.d/* sysconfig ppp $(ROOT)/etc
- ln -s /etc $(ROOT)/etc/rc.d
+ ln -s . $(ROOT)/etc/rc.d
mkdir -p $(ROOT)/sbin
mv $(ROOT)/etc/sysconfig/network-scripts/ifup $(ROOT)/sbin
mv $(ROOT)/etc/sysconfig/network-scripts/ifdown $(ROOT)/sbin
diff --git a/initscripts.spec b/initscripts.spec
index f6204181..ff3e943e 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -71,8 +71,7 @@ if [ -d /etc/rc.d -a -d /etc/init.d ]; then
exit 1
fi
if [ -d /etc/rc.d ]; then
- mv -f /etc/rc.d/* /etc
- ln -snf . /etc/rc.d
+ mv -f /etc/rc.d/* /etc && rm -rf /etc/rc.d && ln -snf . /etc/rc.d
fi
%post