This commit is contained in:
simono41 2018-05-26 03:00:13 +02:00
parent 398f2137bb
commit efecb6610d

View file

@ -1155,15 +1155,15 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli
arch-chroot ${mountpoint} chfn -f "${name}" user1
arch-chroot ${mountpoint} passwd user1
if [ "${autostart}" != "n" ]; then
if [ -f /usr/bin/lightdm ]; then
mkdir -p ${mountpoint}/etc/lightdm/
cp /opt/${repo}/Xsession /opt/${repo}/keys.conf /opt/${repo}/lightdm-gtk-greeter.conf /opt/${repo}/lightdm.conf /opt/${repo}/users.conf ${mountpoint}/etc/lightdm/
if [ "${autostart}" == "n" ]; then
arch-chroot ${mountpoint} systemctl enable lightdm-plymouth.service
fi
else
echo "lightdm nicht vorhanden!!!"
fi
fi
arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service