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