remove ntp

This commit is contained in:
Edi Septriyanto
2020-06-27 00:41:12 +07:00
parent c858bec026
commit 1caa8f33d2

View File

@@ -26,9 +26,9 @@ if hash apt 2>/dev/null; then
# Install dependencies.
echo -e "\nInstalling pre-requisites/dependencies package..."
install_dependencies "apt install -qq -y" debian_is_installed \
apt-transport-https apt-utils autoconf automake bash build-essential ca-certificates cmake cron \
apt-transport-https apt-utils apache2-utils autoconf automake bash build-essential ca-certificates cmake cron \
curl dnsutils gcc geoip-bin geoip-database git gnupg2 htop iptables libc6-dev libcurl4-openssl-dev libgd-dev libgeoip-dev \
libssl-dev libxml2-dev libpcre3-dev libtool libxslt1-dev lsb-release make ntp ntpstat openssh-server openssl pkg-config \
libssl-dev libxml2-dev libpcre3-dev libtool libxslt1-dev lsb-release make openssh-server openssl pkg-config \
python python3 re2c rsync software-properties-common sasl2-bin snmp sudo sysstat tar tzdata unzip wget whois zlib1g-dev
# Configure server clock.
@@ -42,8 +42,8 @@ if hash apt 2>/dev/null; then
# Sync and update local time with ntpd.
# Masked? unmask first.
run systemctl unmask ntp.service
run systemctl start ntp
#run systemctl unmask ntp.service
#run systemctl start ntp
# Save config.
save_config "TIMEZONE=${TIMEZONE}"