Skip to content

Commit

Permalink
Revert "[baseimage] Delay ntp-config service to start after 5 minutes (
Browse files Browse the repository at this point in the history
…sonic-net#2494)" (sonic-net#2590)

This reverts commit 33fe8d2.
  • Loading branch information
yxieca authored and tiantianlv committed Apr 10, 2019
1 parent 086296a commit 5a0f477
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions files/build_templates/ntp-config.timer

This file was deleted.

2 changes: 0 additions & 2 deletions files/build_templates/sonic_debian_extension.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a0f477

Please sign in to comment.