summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-07 09:39:12 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-07 09:39:12 -0600
commit230a678824811fe73e308b9a41697ae80df21611 (patch)
treef8f3c1e2a2bb03aac0f7c55adf5c116f5237aaa3
parente5173b9127a42b7c6a209c278fbbcbcd29dcdccc (diff)
downloadopenrc-230a678824811fe73e308b9a41697ae80df21611.tar.gz
openrc-230a678824811fe73e308b9a41697ae80df21611.tar.bz2
openrc-230a678824811fe73e308b9a41697ae80df21611.tar.xz
init-linux: Do not remove the $rc_libexecdir/init.d directory
Reported-by: toralf.foerster@gmx.de X-Gentoo-Bug: 446342 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=446342
-rw-r--r--sh/init.sh.Linux.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
index f45eae1..9b13aad 100644
--- a/sh/init.sh.Linux.in
+++ b/sh/init.sh.Linux.in
@@ -88,9 +88,5 @@ if [ -e "$RC_LIBEXECDIR"/cache/deptree ]; then
cp -p "$RC_LIBEXECDIR"/cache/* "$RC_SVCDIR" 2>/dev/null
fi
-if [ -e "$RC_LIBEXECDIR"/init.d ]; then
- rm -rf "$RC_LIBEXECDIR"/init.d
-fi
-
echo sysinit >"$RC_SVCDIR"/softlevel
exit 0