Revert "init: workaround for elogind to run"

This reverts commit b75b2cc330115a1025455cdc74a2dc60a3759321.

See-also: https://lists.altlinux.org/pipermail/devel/2019-November/208963.html
This commit is contained in:
Anton Midyukov 2019-11-17 00:00:09 +07:00 committed by Michael Shigorin
parent d0898f4748
commit e9a3382b24

View File

@ -20,10 +20,3 @@ 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