diff options
Diffstat (limited to 'init.d/bootmisc.in')
-rw-r--r-- | init.d/bootmisc.in | 6 |
1 files changed, 4 insertions, 2 deletions
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 |