Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1833 → Rev 1834

/alcasar.sh
29,7 → 29,7
# testing : connectivity tests, free space test and mageia version test
# init : Installation of RPM and scripts
# network : Network parameters
# time : NTPd configuration
# time_server : NTPd configuration
# ACC : ALCASAR Control Center installation
# CA : Certification Authority initialization
# init_db : Initilization of radius database managed with MariaDB
614,10 → 614,10
} # End of network ()
 
##################################################################
## Function "time" ##
## Function "time_server" ##
## - Configuring NTP server ##
##################################################################
time ()
time_server ()
{
# Set the Internet time server
[ -e /etc/ntp/step-tickers.default ] || cp /etc/ntp/step-tickers /etc/ntp/step-tickers.default
642,7 → 642,7
chown -R ntp:ntp /var/lib/ntp
# Synchronize now
ntpd -q -g &
} # End of time ()
} # End of time_server ()
##################################################################
## Function "ACC" ##
## - installation du centre de gestion (ALCASAR Control Center) ##
2071,7 → 2071,7
UPD_PREVIOUS_VERSION=`echo $PREVIOUS_VERSION|cut -d"." -f3`
mode="update"
fi
for func in init network time ACC CA init_db radius chilli dansguardian antivirus tinyproxy ulogd nfsen vnstat dnsmasq BL cron fail2ban gammu_smsd post_install
for func in init network time_server ACC CA init_db radius chilli dansguardian antivirus tinyproxy ulogd nfsen vnstat dnsmasq BL cron fail2ban gammu_smsd post_install
do
$func
# echo "*** 'debug' : end of function $func ***"; read a