
30 Sep
2020
30 Sep
'20
7:57 a.m.
This is hack. Please make it clear. And there is a dedicated function for calling ntpdate, why not add code there? On Tue, Sep 29, 2020 at 10:10:07PM +0800, Wang Chenglong wrote:
initramfs start, need to synchronize time after get the ip address
Signed-off-by: Wang Chenglong <18509160991@163.com> --- bin/run-ipconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/bin/run-ipconfig b/bin/run-ipconfig index 0f80feaf..ad2a9808 100755 --- a/bin/run-ipconfig +++ b/bin/run-ipconfig @@ -20,3 +20,4 @@ read_ip()
[ -n "$IP" ] || read_ip configure_networking +ntpdate -u ntp.api.bz -- 2.23.0