This commit is contained in:
simono41 2018-05-27 03:14:20 +02:00
parent e1af5fa042
commit 35ff43d93f

View file

@ -66,6 +66,13 @@ function minimalinstallation() {
arch-chroot ${mountpoint} pacman -Syu --needed --noconfirm arch-chroot ${mountpoint} pacman -Syu --needed --noconfirm
arch-chroot ${mountpoint} su "$user" -c "aurinstaller "https://aur.archlinux.org/plymouth.git"" arch-chroot ${mountpoint} su "$user" -c "aurinstaller "https://aur.archlinux.org/plymouth.git""
# x11vnc
mkdir -p ${mountpoint}/etc/systemd/system/
cp /opt/${repo}/x11vnc.service ${mountpoint}/etc/systemd/system/x11vnc.service
chmod 644 ${mountpoint}/etc/systemd/system/x11vnc.service
arch-chroot ${mountpoint} systemctl enable x11vnc.service
} }
function gitclone() { function gitclone() {
@ -908,7 +915,7 @@ function abfrage() {
fi fi
if [ "${offline}" != "n" ] && [ "${update}" != "n" ]; then if [ "${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
@ -917,8 +924,10 @@ function abfrage() {
# fi # fi
fi fi
if [ "${offline}" != "n" ]; then
read -p "Sould the system be started without a login? : [y/N] " autostart read -p "Sould the system be started without a login? : [y/N] " autostart
[[ -z "${autostart}" ]] && autostart=n [[ -z "${autostart}" ]] && autostart=n
fi
# Ausgaben # Ausgaben
@ -1192,7 +1201,7 @@ fi
# benutzerwechsel # benutzerwechsel
if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offline}" != "n" ]; then if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ]; then
#arch-chroot ${mountpoint} usermod -l "${name}" user1 #arch-chroot ${mountpoint} usermod -l "${name}" user1
#arch-chroot ${mountpoint} usermod -d /home/"${name}" -m "${name}" #arch-chroot ${mountpoint} usermod -d /home/"${name}" -m "${name}"
arch-chroot ${mountpoint} chfn -f "${name}" user1 arch-chroot ${mountpoint} chfn -f "${name}" user1