This commit is contained in:
simono41 2018-03-04 18:50:24 +01:00
parent 5e14b27bfa
commit 2c77e351a0

View file

@ -68,11 +68,10 @@ function secureumount() {
umount ${mountpoint}/boot umount ${mountpoint}/boot
umount ${mountpoint} umount ${mountpoint}
fi fi
fi
if cat /proc/mounts | grep /dev/mapper/luks0 > /dev/null; then if cat /proc/mounts | grep /dev/mapper/luks0 > /dev/null; then
cryptsetup remove /dev/mapper/luks0 cryptsetup remove /dev/mapper/luks0
fi fi
fi
} }
@ -987,6 +986,9 @@ fi
if [ "${x11vnc}" == "y" ]; then if [ "${x11vnc}" == "y" ]; then
echo "Bitte geben sie ein Passwort für das VNC-Protokoll ein!" echo "Bitte geben sie ein Passwort für das VNC-Protokoll ein!"
arch-chroot ${mountpoint} x11vnc -storepasswd /etc/x11vnc.pass arch-chroot ${mountpoint} x11vnc -storepasswd /etc/x11vnc.pass
arch-chroot ${mountpoint} systemctl enable x11vnc.service
else
arch-chroot ${mountpoint} systemctl disable x11vnc.service
fi fi
if [ "${update}" != "n" ] && [ "${offline}" == "n" ]; then if [ "${update}" != "n" ] && [ "${offline}" == "n" ]; then