|
@@ -1652,7 +1652,7 @@ function configure_avahi {
|
1652
|
1652
|
else
|
1653
|
1653
|
decarray=( 1 2 3 4 5 6 7 8 9 0 )
|
1654
|
1654
|
PEER_ID=${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}
|
1655
|
|
- sed -i "s|#host-name=.*|host-name=freedombone-$PEER_ID|g" /etc/avahi/avahi-daemon.conf
|
|
1655
|
+ sed -i "s|#host-name=.*|host-name=mesh-$PEER_ID|g" /etc/avahi/avahi-daemon.conf
|
1656
|
1656
|
fi
|
1657
|
1657
|
systemctl restart avahi-daemon
|
1658
|
1658
|
echo 'configure_avahi' >> $COMPLETION_FILE
|