Skip to content

Commit 4d0b1bb

Browse files
authored
[NTP] Revert change in PR 2598 (#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 9c866cd commit 4d0b1bb

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
@@ -322,10 +322,6 @@ fi
322322
## Disable kexec supported reboot which was installed by default
323323
sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/kexec
324324

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

0 commit comments

Comments
 (0)