Commit b75b2cc3 authored by Anton Midyukov's avatar Anton Midyukov Committed by Michael Shigorin

init: workaround for elogind to run

Let's provide some shim until directory migration is over.
parent fbc102f2
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment