From b9e2740c572cbf1e75d3a60a2c7e44276b458497 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Thu, 21 Feb 2019 10:04:54 -0800 Subject: [PATCH] Revert "[baseimage] Delay ntp-config service to start after 5 minutes (#2494)" (#2590) This reverts commit 33fe8d298ecc9ec380b2bae96604216ccc4cbfd4. --- files/build_templates/ntp-config.timer | 9 --------- files/build_templates/sonic_debian_extension.j2 | 2 -- 2 files changed, 11 deletions(-) delete mode 100644 files/build_templates/ntp-config.timer diff --git a/files/build_templates/ntp-config.timer b/files/build_templates/ntp-config.timer deleted file mode 100644 index ab2d2e755ab2..000000000000 --- a/files/build_templates/ntp-config.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Delays NTP configuration service until SONiC has started - -[Timer] -OnBootSec=5min -Unit=ntp-config.service - -[Install] -WantedBy=timers.target diff --git a/files/build_templates/sonic_debian_extension.j2 b/files/build_templates/sonic_debian_extension.j2 index 8064b2d71b04..4ef014a30e4b 100644 --- a/files/build_templates/sonic_debian_extension.j2 +++ b/files/build_templates/sonic_debian_extension.j2 @@ -302,9 +302,7 @@ sudo LANG=C cp $SCRIPTS_DIR/syncd.sh $FILESYSTEM_ROOT/usr/local/bin/syncd.sh # Copy systemd timer configuration # It implements delayed start of services sudo cp $BUILD_TEMPLATES/snmp.timer $FILESYSTEM_ROOT/etc/systemd/system/ -sudo cp $BUILD_TEMPLATES/ntp-config.timer $FILESYSTEM_ROOT/etc/systemd/system/ sudo LANG=C chroot $FILESYSTEM_ROOT systemctl enable snmp.timer -sudo LANG=C chroot $FILESYSTEM_ROOT systemctl enable ntp-config.timer sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get remove -y python-dev sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get clean -y