ajout FQDN et non FQDN proposé
This commit is contained in:
parent
9101bf061a
commit
0c5f0e9770
scripts/server-dhcp
|
@ -74,19 +74,19 @@ for HOSTNAME in "${HOSTNAMES[@]}"; do
|
|||
echo "address=/$FQDN/$IP" >> "$DNSMASQ_CONF"
|
||||
echo "Ajout de : $FQDN -> $IP"
|
||||
MODIFIED=1
|
||||
else
|
||||
echo "address=/$HOSTNAME/$IP" >> "$DNSMASQ_CONF"
|
||||
echo "Ajout de : $HOSTNAME -> $IP"
|
||||
MODIFIED=1
|
||||
fi
|
||||
fi
|
||||
|
||||
if is_hostname_registered "$HOSTNAME"; then
|
||||
echo "L'association $HOSTNAME -> $IP existe déjà."
|
||||
else
|
||||
echo "address=/$HOSTNAME/$IP" >> "$DNSMASQ_CONF"
|
||||
echo "Ajout de : $HOSTNAME -> $IP"
|
||||
MODIFIED=1
|
||||
if is_hostname_registered "$HOSTNAME"; then
|
||||
echo "L'association $HOSTNAME -> $IP existe déjà."
|
||||
else
|
||||
echo "address=/$HOSTNAME/$IP" >> "$DNSMASQ_CONF"
|
||||
echo "Ajout de : $HOSTNAME -> $IP"
|
||||
MODIFIED=1
|
||||
fi
|
||||
fi
|
||||
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue