aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-19 11:20:08 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-19 11:42:32 -0600
commitb44f96ac9bb6427c41480cc6ef2beb1818ca4f93 (patch)
tree29ade49e2d53123840559829c96bd1d3f69e5642 /sh
parent7557d62870a3ee92ff43e97bab734e2deaf3cb8a (diff)
init.sh.Linux: do not try to remove the /run/openrc symlink
In order to make migration from /lib*/rc/init.d to /run/openrc possible without rebooting, the migration script creates a symlink from /run/openrc to /lib*/rc/init.d. We were trying to remove it on the next reboot, but this is not possible since / is ro when /run is mounted. Reported-by: fturco@fastmail.fm X-Gentoo-Bug: 447678 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=447678
Diffstat (limited to 'sh')
-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 9b13aad4..0eca7361 100644
--- a/sh/init.sh.Linux.in
+++ b/sh/init.sh.Linux.in
@@ -51,10 +51,6 @@ if [ ! -d /run ]; then
fi
fi
-if [ -L /run/openrc ]; then
- rm /run/openrc
-fi
-
if [ "$sys" = VSERVER ]; then
rm -rf /run/*
elif ! mountinfo -q /run; then