Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3192 → Rev 3191

/alcasar.sh
919,13 → 919,8
#############################################################
time_server()
{
[ -e /etc/ntp.conf.default ] || cp /etc/ntp.conf /etc/ntp.conf.default
$SED "s?^pool.*?pool fr.pool.ntp.org iburst?g" /etc/ntp.conf
$SED '$ainterface ignore wildcard' /etc/ntp.conf
$SED '$ainterface listen lo' /etc/ntp.conf
$SED '$ainterface listen $INTIF' /etc/ntp.conf
# Synchronize now
ntpdate fr.pool.ntp.org &
ntpdate pool.ntp.org &
} # End of time_server()
 
#####################################################################