When attempting to reset the database on a "large" USB device, the calculation for SIZEAVAIL overflows.
See code change below which is used in other scripts. Use AWK rather than SHELL to do calculation.
--- ntpmerlin
+++ ntpmerlin_NEW
@@ -1195,8 +1195,9 @@
Reset_DB(){
SIZEAVAIL="$(df...
Sometimes on reboot or cold start, entware scripts can deadlock if ntpMerlin is installed.
Scripts can deadlock as Router NTP is disabled and (at some stage) killed before ntp syncs and "ntp_ready" flag is set. addon versions of ntp/chronyd wait for ntp_ready which may never arrive. ntpMerlin...
Chronyd not starting issue "Fatal error : Could not get user/group ID of nobody"
I have just chased this down on my RT-AX92u(3004.388.7_1-gnuton0_alpha1) and Entware 4.5.1, ntpMerlin 3.4.5.
Seems that chronyd (or the libraries it links) are looking for the passwd file in /opt/etc/passwd...