We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b3b33 commit cc1d4c5Copy full SHA for cc1d4c5
tools/modules/system/change_system_hostname.sh
@@ -10,7 +10,7 @@ module_options+=(
10
# @description Change system hostname
11
#
12
function change_system_hostname() {
13
- 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)
14
[ $? -eq 0 ] && [ -n "${new_hostname}" ] && hostnamectl set-hostname "${new_hostname}"
15
}
16
0 commit comments