init: workaround for elogind to run
Let's provide some shim until directory migration is over.
This commit is contained in:
parent
fbc102f2d5
commit
b75b2cc330
@ -20,3 +20,10 @@ mkdir -p /var/run /var/lock/{serial,subsys,uucp}
|
||||
chmod 0770 /var/lock/subsys
|
||||
chmod 0770 /var/lock/{serial,uucp}
|
||||
chgrp uucp /var/lock/{serial,uucp}
|
||||
|
||||
# Workaround for run elogind
|
||||
if [ ! -L /var/run -a ! -e /var/run/dbus ]; then
|
||||
ln -s /run/dbus /var/run/dbus
|
||||
else
|
||||
echo "symlink /run/dbus -> /var/run/dbus not created"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user