aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-16 14:27:19 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-16 14:33:27 -0500
commit76f76eb19a1e0595ba6b512e1a7e3791006aee3a (patch)
treebd8ed6ceb1eeedd748e2299b7c4d19131963f1a1
parenta3ff6cce97d2437438a955c781267df1f4f49bcd (diff)
Migrate /var/run and /var/lock to symlinks
Now that we have full support for tmpfiles.d in OpenRC, we can migrate /var/run and /var/lock to symbolic links to /run and /run/lock respectively.
-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 f4c32a22..d8692700 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -112,7 +112,7 @@ start()
fi
done
- if [ "$RC_UNAME" = Linux -a -d /run ] && false; then
+ if [ "$RC_UNAME" = Linux -a -d /run ]; then
migrate_to_run /var/lock /run/lock
migrate_to_run /var/run /run
fi