From 76f76eb19a1e0595ba6b512e1a7e3791006aee3a Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 16 Oct 2012 14:27:19 -0500 Subject: 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. --- init.d/bootmisc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index f4c32a2..d869270 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 -- cgit v1.2.3