Skip to content

Commit deb5d7c

Browse files
committed
configure hostname
1 parent f9fdb92 commit deb5d7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install-little-backup-box.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ sudo systemctl disable openvpn.service
249249

250250
# change hostname
251251
sudo raspi-config nonint do_hostname lbb
252+
sudo sed -i -E "s/^([[:space:]]*hostname:[[:space:]]*).*/\1lbb/" "/boot/firmware/user-data"
252253

253254
# raspberry pi 5: usb_max_current_enable
254255
CONFIG_TXT="/boot/firmware/config.txt"
@@ -640,7 +641,7 @@ echo "***"
640641
echo "*** If you have further questions, please check the wiki first:"
641642
echo "*** https://github.com/outdoorbits/little-backup-box/wiki"
642643
echo "***"
643-
echo "*** IF YOU ARE USING COMITUP: READ ALSO %quot;How to proceed%quot; in README/Installation!"
644+
echo "*** IF YOU ARE USING COMITUP: READ ALSO 'How to proceed' in README/Installation!"
644645
echo "***"
645646
echo "*** We are always happy to receive your feedback!"
646647
echo "********************************************************************************************"

0 commit comments

Comments
 (0)