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:
parent
a3ff6cce97
commit
76f76eb19a
@ -112,7 +112,7 @@ start()
|
|||||||
fi
|
fi
|
||||||
done
|
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/lock /run/lock
|
||||||
migrate_to_run /var/run /run
|
migrate_to_run /var/run /run
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user