From fd961d2ea0eea2cc60f4af1aca6b6e7711d43995 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Fri, 12 Jul 2024 00:51:12 +0200 Subject: openrc-user: init script for users adds a new multiplexed script for starting user sessions. it also sets up XDG_RUNTIME_DIR. Signed-off-by: Anna (navi) Figueiredo Gomes --- init.d/bootmisc.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'init.d/bootmisc.in') diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 233dfc55..fdcd20bb 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -169,10 +169,12 @@ start() # Satisfy Linux FHS extra=/var/lib/misc if [ ! -d /run ]; then - extra="/var/run $extra" + extra="/var/run /var/run/user $extra" + elif [ ! -d /run/user ]; then + extra="/run/user $extra" fi else - extra=/var/run + extra="/var/run /var/run/user" fi for x in /var/log /tmp $extra; do if ! [ -d $x ]; then -- cgit v1.2.3