Skip to content

Commit c550929

Browse files
yxiecatiantianlv
authored andcommitted
[NTP] Revert change in PR 2598 (sonic-net#4265)
We believe that the supervisord issue in face of clock rolling backwards has been addressed. Therefore reverting change 2598 to allow ntp sync to right clock at the start up time. Signed-off-by: Ying Xie <[email protected]>
1 parent 4c24a32 commit c550929

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build_debian.sh

-4
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,6 @@ fi
317317
## Disable kexec supported reboot which was installed by default
318318
sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/kexec
319319

320-
## Modifty ntp default configuration: disable initial jump (add -x), and disable
321-
## jump when time difference is greater than 1000 seconds (remove -g).
322-
sudo sed -i "s/NTPD_OPTS='-g'/NTPD_OPTS='-x'/" $FILESYSTEM_ROOT/etc/default/ntp
323-
324320
## Remove sshd host keys, and will regenerate on first sshd start
325321
sudo rm -f $FILESYSTEM_ROOT/etc/ssh/ssh_host_*_key*
326322
sudo cp files/sshd/host-ssh-keygen.sh $FILESYSTEM_ROOT/usr/local/bin/

0 commit comments

Comments
 (0)