summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-01-05 06:55:08 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-01-05 06:55:08 -0600
commitdbfcf232734439da3ded008af36fc1128375b437 (patch)
tree7cbf10a160b7cef41940dcdb4a0a10f8a3664a16
parentf583030e3cbfb1d2f30af3ebd00427e12fe66b70 (diff)
downloadopenrc-dbfcf232734439da3ded008af36fc1128375b437.tar.gz
openrc-dbfcf232734439da3ded008af36fc1128375b437.tar.bz2
openrc-dbfcf232734439da3ded008af36fc1128375b437.tar.xz
really disable /var/{lock,run} migration to /run
This needs to be disabled until we have tmpfiles.d support. The previous method did not disable it correctly.
-rw-r--r--init.d/bootmisc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 50c5641..ee3c20c 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -117,7 +117,7 @@ start()
fi
done
- if [ "$RC_UNAME" = Linux -a -d /run -a false ]; then
+ if [ "$RC_UNAME" = Linux -a -d /run ] && false; then
migrate_to_run /var/lock /run/lock
migrate_to_run /var/run /run
fi