Hello all,
I am using the ntpd applet in busybox but also wanted to enable the ntpdate program (yes I know use of ntpdate is not recommended in general but this is for a very specific use case). However I see that ntpdate is part of the "ntp" package and that the ntp package is blocked by BUSYBOX_NTPD. From rules/ntp.in:
menuconfig NTP
tristate
prompt "ntp "
select OPENSSL if NTP_CRYPTO
select ROOTFS_VAR_CACHE if NTP_NTPD
select LIBC_M
select LIBC_RT
select GCCLIBS_GCC_S
select LIBMD
depends on !BUSYBOX_NTPD || ALLYES
[...]
config NTP_NTPDATE
bool
prompt "install ntpdate"
depends on NTP
Obviously one would not want to run two ntp services at the same time, but since busybox lacks an ntpdate command, there are cases where one would want to use ntpdate from the NTP package while still using Busybox's ntpd for everything else.
My question is: Is there any reason why this wouldn't work? Was the "depends on !BUSYBOX_NTPD" line added just to avoid the possibility of the two ntp services running at the same time? Or is it there to guard from other possible problems/issues?
Thank you,