mirror of
https://github.com/armbian/configng.git
synced 2026-01-06 10:37:41 -08:00
Fix dialog typo
This commit is contained in:
@@ -10,7 +10,7 @@ module_options+=(
|
||||
# @description Change system hostname
|
||||
#
|
||||
function change_system_hostname() {
|
||||
local new_hostname=$($DIALOG --title "Enter new hostnane" --inputbox "" 7 50 3>&1 1>&2 2>&3)
|
||||
local new_hostname=$($DIALOG --title "Enter new hostname" --inputbox "" 7 50 3>&1 1>&2 2>&3)
|
||||
[ $? -eq 0 ] && [ -n "${new_hostname}" ] && hostnamectl set-hostname "${new_hostname}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user