fix
This commit is contained in:
parent
5e14b27bfa
commit
2c77e351a0
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue