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
…#2494)" (#2590)

This reverts commit 33fe8d2.
  • Loading branch information
yxieca committed Feb 21, 2019
1 parent a57cb14 commit d5250ad
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 d5250ad

Please sign in to comment.