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.
2 parents 0aa2388 + cc7f470 commit 92a6c58Copy full SHA for 92a6c58
bin/register_new_os2borgerpc_client.sh
@@ -48,7 +48,7 @@ while true; do
48
49
# Idea: Allow uppercase in the computername due to popular demand,
50
# but lowercase it so it's a valid hostname which is case insensitive
51
- NEW_HOSTNAME=$(echo "$NEW_COMPUTER_NAME" | tr '[:upper:]' '[:lower:]')
+ NEW_HOSTNAME=${NEW_COMPUTER_NAME,,}
52
53
echo "$NEW_HOSTNAME" > /etc/hostname
54
set_os2borgerpc_config hostname "$NEW_HOSTNAME"
0 commit comments