arch-install-boot-auswahl

This commit is contained in:
simono41 2018-05-25 21:09:58 +00:00
parent 6c38a68da3
commit 81511fc4d6

View file

@ -874,6 +874,9 @@ function abfrage() {
# fi
fi
read -p "Sould the system be started without a login? : [y/N] " autostart
[[ -z "${autostart}" ]] && autostart=n
# Ausgaben
# Dateisystem
@ -1152,6 +1155,7 @@ 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/
@ -1159,6 +1163,7 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli
else
echo "lightdm nicht vorhanden!!!"
fi
fi
arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service