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.
This commit is contained in:
William Hubbs 2012-10-16 14:27:19 -05:00
parent a3ff6cce97
commit 76f76eb19a

View File

@ -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