remove_this

This commit is contained in:
simono41 2018-06-14 13:30:42 +02:00
parent 591d94db12
commit a27603875a

View file

@ -855,24 +855,18 @@ function abfrage() {
read -p "Do you want to create a swap partition? : [Y/n] " swap
read -p "Do you want to create a swapfile? : [y/N] " swapfile
#echo "This attitude can be seen with: "
#echo "systemctl enable openvpn-client@client.service activate and with"
#echo "systemctl disable openvpn-client@client.service deactivate"
#echo "The bandwidth is thereby reduced but the security significantly increased"
#read -p "Should the connection with a VPN be encrypted? : [Y/n] " openvpn
if [ "${update}" != "n" ]; then
echo "WARNING the system is not encrypted !!!"
echo "WARNING The system will not start without the USB stick !!!"
read -p "Should a USB stick be installed as the key for the system? : [y/N] " usbsecret
if [ "${usbsecret}" == "y" ]; then
read -p "Which USB stick should be selected for the USB-secret key ?: /dev/sdb1 " usbsecretdevice
[[ -z "${usbsecretdevice}" ]] && device=/dev/sdb1
usbsecretdeviceuuid=$(blkid -s PARTUUID -o value ${usbsecretdevice})
[[ -z "${usbsecretdeviceuuid}" ]] && mkfs.ext4 ${usbsecretdevice}
fi
fi
# if [ "${update}" != "n" ]; then
#
# echo "WARNING the system is not encrypted !!!"
# echo "WARNING The system will not start without the USB stick !!!"
# read -p "Should a USB stick be installed as the key for the system? : [y/N] " usbsecret
# if [ "${usbsecret}" == "y" ]; then
# read -p "Which USB stick should be selected for the USB-secret key ?: /dev/sdb1 " usbsecretdevice
# [[ -z "${usbsecretdevice}" ]] && device=/dev/sdb1
# usbsecretdeviceuuid=$(blkid -s PARTUUID -o value ${usbsecretdevice})
# [[ -z "${usbsecretdeviceuuid}" ]] && mkfs.ext4 ${usbsecretdevice}
# fi
# fi
if [ "${raid}" == "n" ]; then
read -p "Should the hard disk be encrypted? : [y/N] " verschluesselung