For consistency use the name 'mesh'
This commit is contained in:
parent
5641cd3bc8
commit
2aa9c42ad5
|
@ -1652,7 +1652,7 @@ function configure_avahi {
|
|||
else
|
||||
decarray=( 1 2 3 4 5 6 7 8 9 0 )
|
||||
PEER_ID=${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}
|
||||
sed -i "s|#host-name=.*|host-name=freedombone-$PEER_ID|g" /etc/avahi/avahi-daemon.conf
|
||||
sed -i "s|#host-name=.*|host-name=mesh-$PEER_ID|g" /etc/avahi/avahi-daemon.conf
|
||||
fi
|
||||
systemctl restart avahi-daemon
|
||||
echo 'configure_avahi' >> $COMPLETION_FILE
|
||||
|
|
Loading…
Reference in New Issue