mirror of
https://github.com/kevinveenbirkenbach/raspberry-pi-tools.git
synced 2026-10-26 16:02:12 +00:00
Solved hostname bug
This commit is contained in:
1 parent
f42f9888a9
commit
712018da48
1 file changed
+1
-1
+1
-1
@@ -356,7 +356,7 @@ if [ "$password_1" == "$password_2" ]
|
||||
fi
|
||||
|
||||
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
|
||||
# if [ "$copy_wifi" = "y" ]
|
||||
|
||||
Reference in new issue
Block a user