Skip to content
Snippets Groups Projects
  • Piotr Dymacz's avatar
    6e44f47a
    sysntpd: restore support for peer-less (standalone) mode · 6e44f47a
    Piotr Dymacz authored
    
    ntpd from Busybox supports peer-less (standalone) mode when it's started
    with option -l and without any peer provided with option -p. In this
    mode ntpd uses local time as reference and acts as stratum 1 server.
    
    This mode can be used in isolated networks, where Internet access and/or
    other NTP server/s are not available, but the device has some other way
    of getting correct time, like e.g. GPS (ugps supports setting local time
    by default).
    
    Support for this mode was incorrectly disabled/removed in:
    1527f96c
    
    Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
    Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
    6e44f47a
    History
    sysntpd: restore support for peer-less (standalone) mode
    Piotr Dymacz authored
    
    ntpd from Busybox supports peer-less (standalone) mode when it's started
    with option -l and without any peer provided with option -p. In this
    mode ntpd uses local time as reference and acts as stratum 1 server.
    
    This mode can be used in isolated networks, where Internet access and/or
    other NTP server/s are not available, but the device has some other way
    of getting correct time, like e.g. GPS (ugps supports setting local time
    by default).
    
    Support for this mode was incorrectly disabled/removed in:
    1527f96c
    
    Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
    Acked-by: default avatarJo-Philipp Wich <jo@mein.io>