dnsconf
This commit is contained in:
parent
b7f319d849
commit
d71d04beca
|
@ -1648,7 +1648,7 @@ function configure_avahi {
|
||||||
if [[ $ENABLE_BABEL != "yes" && $ENABLE_BATMAN != "yes" && $ENABLE_CJDNS != "yes" ]]; then
|
if [[ $ENABLE_BABEL != "yes" && $ENABLE_BATMAN != "yes" && $ENABLE_CJDNS != "yes" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
apt-get -y install avahi-utils avahi-autoipd
|
apt-get -y install avahi-utils avahi-autoipd avahi-dnsconfd
|
||||||
|
|
||||||
if [ $DEFAULT_DOMAIN_NAME ]; then
|
if [ $DEFAULT_DOMAIN_NAME ]; then
|
||||||
sed -i "s|#host-name=.*|host-name=$DEFAULT_DOMAIN_NAME|g" /etc/avahi/avahi-daemon.conf
|
sed -i "s|#host-name=.*|host-name=$DEFAULT_DOMAIN_NAME|g" /etc/avahi/avahi-daemon.conf
|
||||||
|
|
Loading…
Reference in New Issue