There seems to be some odd quirk/bug relating to some of the
automake/autoconf files used in flac, resulting in builds that sometimes
fail citing aclocal-1.15 missing (when automake 1.15 isn't anywhere on
the system). Run autoreconf in advance of configure to address this.
Details: http://www.linksysinfo.org/index.php?threads/getting-kille72-to-build-bugs-galore.74105/
Use of DEBUG_STIME was forcing calc(), thus save(), to write to disk
every 90 seconds rather than per NVRAM variable cstats_stime*60*60.
This bug was introduced in commit caa9070.
Details: http://www.linksysinfo.org/index.php?threads/fork-tomato-arm-by-kille72.73397/page-18#post-296002
Also comment out DEBUG_CSTATS and DEBUG_NOISY to shrink binary size.
This brings things in line with older MIPS releases and AsusWRT-Merlin
as well.
Use of DEBUG_STIME was forcing calc(), thus save(), to write to disk
every 90 seconds rather than per NVRAM variable cstats_stime*60*60.
This bug was introduced in commit caa9070.
Details: http://www.linksysinfo.org/index.php?threads/fork-tomato-arm-by-kille72.73397/page-18#post-296002
Also comment out DEBUG_CSTATS and DEBUG_NOISY to shrink binary size.
This brings things in line with older MIPS releases and AsusWRT-Merlin
as well.
function to start dnsmasq service ~/rc/services.c actually does the same thing once dnsmasq is started, and does it better, by verifying if system time is greater than the epoch.
Probably at that time such piece of code was fit in there, SIGHUP did a bunch of stuff so receiving it multiple times wasn't really a problem, but receiving SIGINT twice from 2.79 and onwards is harmful.
Thanks to koitsu for the very helpful insight.
function to start dnsmasq service ~/rc/services.c actually does the same thing once dnsmasq is started, and does it better, by verifying if system time is greater than the epoch.
Probably at that time such piece of code was fit in there, SIGHUP did a bunch of stuff so receiving it multiple times wasn't really a problem, but receiving SIGINT twice from 2.79 and onwards is harmful.
Thanks to koitsu for the very helpful insight.