arch-install-boot-auswahl
This commit is contained in:
parent
6c38a68da3
commit
81511fc4d6
1 changed files with 16 additions and 11 deletions
27
arch-install
27
arch-install
|
@ -867,13 +867,16 @@ function abfrage() {
|
||||||
|
|
||||||
if [ "${offline}" != "n" ] && [ "${update}" != "n" ]; then
|
if [ "${offline}" != "n" ] && [ "${update}" != "n" ]; then
|
||||||
read -p "Do you want to activate the VNC protocol? : [y/N] " x11vnc
|
read -p "Do you want to activate the VNC protocol? : [y/N] " x11vnc
|
||||||
# echo "This password is only valid for the current session !!!"
|
# echo "This password is only valid for the current session !!!"
|
||||||
# if [ "${x11vnc}" == "y" ]; then
|
# if [ "${x11vnc}" == "y" ]; then
|
||||||
# x11vnc -storepasswd /etc/x11vnc.pass
|
# x11vnc -storepasswd /etc/x11vnc.pass
|
||||||
# systemctl restart x11vnc.service
|
# systemctl restart x11vnc.service
|
||||||
# fi
|
# fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
read -p "Sould the system be started without a login? : [y/N] " autostart
|
||||||
|
[[ -z "${autostart}" ]] && autostart=n
|
||||||
|
|
||||||
# Ausgaben
|
# Ausgaben
|
||||||
|
|
||||||
# Dateisystem
|
# Dateisystem
|
||||||
|
@ -1152,12 +1155,14 @@ if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offli
|
||||||
arch-chroot ${mountpoint} chfn -f "${name}" user1
|
arch-chroot ${mountpoint} chfn -f "${name}" user1
|
||||||
arch-chroot ${mountpoint} passwd user1
|
arch-chroot ${mountpoint} passwd user1
|
||||||
|
|
||||||
if [ -f /usr/bin/lightdm ]; then
|
if [ "${autostart}" != "n" ]; then
|
||||||
mkdir -p ${mountpoint}/etc/lightdm/
|
if [ -f /usr/bin/lightdm ]; then
|
||||||
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/
|
mkdir -p ${mountpoint}/etc/lightdm/
|
||||||
arch-chroot ${mountpoint} systemctl enable lightdm-plymouth.service
|
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/
|
||||||
else
|
arch-chroot ${mountpoint} systemctl enable lightdm-plymouth.service
|
||||||
echo "lightdm nicht vorhanden!!!"
|
else
|
||||||
|
echo "lightdm nicht vorhanden!!!"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service
|
arch-chroot ${mountpoint} systemctl enable rc-local-shutdown.service
|
||||||
|
|
Loading…
Reference in a new issue