Solved hostname bug

This commit is contained in:
Kevin Veen-Birkenbach 2020-04-30 18:33:10 +02:00
parent f42f9888a9
commit 712018da48

View File

@ -356,7 +356,7 @@ if [ "$password_1" == "$password_2" ]
fi fi
question "Type in the hostname:" && read -r hostname; question "Type in the hostname:" && read -r hostname;
echo "$hostname" > "$root_mount_path""etc/hostname" | error "Changing hostname failed." echo "$hostname" > "$root_mount_path""etc/hostname" || error "Changing hostname failed."
# question "Do you want to copy all Wifi passwords to the device?(y/n)" && read -r copy_wifi # question "Do you want to copy all Wifi passwords to the device?(y/n)" && read -r copy_wifi
# if [ "$copy_wifi" = "y" ] # if [ "$copy_wifi" = "y" ]