mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
don't set hostname by default (#2945)
This commit is contained in:
parent
254500b4f3
commit
6c4fd39ef6
@ -760,10 +760,6 @@ fi
|
||||
if [ ${#hostname} -gt 0 ]; then
|
||||
hostnameSanatized=$(echo "${hostname}"| tr -dc '[:alnum:]\n\r')
|
||||
if [ ${#hostnameSanatized} -gt 0 ]; then
|
||||
# by default set hostname for older versions on update
|
||||
if [ ${#setnetworkname} -eq 0 ]; then
|
||||
setnetworkname=1
|
||||
fi
|
||||
if [ "${setnetworkname}" == "1" ]; then
|
||||
echo "Setting new network hostname '$hostnameSanatized'" >> ${logFile}
|
||||
if [ "${baseimage}" == "raspios_arm64" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user