checks corrections and improvement, display improvement

This commit is contained in:
levasseur
2021-06-28 17:42:06 +02:00
parent dd11f34cfa
commit 89b90e4670
10 changed files with 58 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
# NTP
export VER_conf_ntp="0.0.3"
export VER_conf_ntp="0.0.4"
conf_ntp()
{
@@ -33,9 +33,11 @@ conf_ntp()
# NTP
precheck_conf_ntp()
{
if [[ ! $NTPSERVERS ]]; then
if [[ -z $NTPSERVERS ]]; then
prnt E "Pas de serveur NTP configuré !"
die 5
else
prnt m "Les serveurs ntp utilisés seront : $NTPSERVERS"
fi
}