Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3191 → Rev 3192

/alcasar.sh
919,8 → 919,13
#############################################################
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 pool.ntp.org &
ntpdate fr.pool.ntp.org &
} # End of time_server()
 
#####################################################################