File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description=Delays NTP configuration service until SONiC has started
3
+
4
+ [Timer]
5
+ OnBootSec=5min
6
+ Unit=ntp-config.service
7
+
8
+ [Install]
9
+ WantedBy=timers.target
Original file line number Diff line number Diff line change @@ -302,7 +302,9 @@ sudo LANG=C cp $SCRIPTS_DIR/syncd.sh $FILESYSTEM_ROOT/usr/local/bin/syncd.sh
302
302
# Copy systemd timer configuration
303
303
# It implements delayed start of services
304
304
sudo cp $BUILD_TEMPLATES /snmp.timer $FILESYSTEM_ROOT /etc/systemd/system/
305
+ sudo cp $BUILD_TEMPLATES /ntp-config.timer $FILESYSTEM_ROOT /etc/systemd/system/
305
306
sudo LANG=C chroot $FILESYSTEM_ROOT systemctl enable snmp.timer
307
+ sudo LANG=C chroot $FILESYSTEM_ROOT systemctl enable ntp-config.timer
306
308
307
309
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get remove -y python-dev
308
310
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get clean -y
You can’t perform that action at this time.
0 commit comments