[PATCH] busybox: sysntpd: add trigger to reload server

Jo-Philipp Wich jo at mein.io
Tue Jun 1 13:04:27 PDT 2021


Hi,

>> start_service() {
>> +	. /lib/functions/network.sh
> 
> 
> This doesn't look right.  It's usually added at the top of the file, unnested.

Which would be the wrong thing to do here. Since the init script is run
on the host system during build (to enable it), it must not source files
which are only available on target.

Sourcing the library inside the procedure is correct.



~ Jo



More information about the openwrt-devel mailing list