busybox/psmisc not compatible with latest OpenWrt packages (adblock, ddns-scripts)
Turris OS v3.10.1 appears to use a version of busybox that is different to that used by the latest version of OpenWrt, and as expected by (for example) adblock v3.5.1-1, and ddns-scripts v2.7.7-6.
In the case of adblock this is manifest only when using dnsmasq instead of kresd. Specifically, TO has
killall -HUP, and adblock expects
kill -s HUP. I execute the following command to modify the adblock package, and it then behaves as expected:
sed -i '/killall/ s/killall -q -HUP/killall -q -s HUP/' /usr/bin/adblock.sh
[EDIT: killall is part of psmisc package, and v22.16-1 in installed on my router ]
There is a similar problem with the ddns-scripts package (the package seems tolerant of the resultant error). My fix is below, but ddns-scripts seems to suffer other errors, including segmentation faults, and - in my case - serial crash/reboots cycles:
sed -i '/__RUNPROG/ s/timeout 2/timeout -t 2/' /usr/lib/ddns/dynamic_dns_functions.sh
Of course, it may be better to 'fix' Turris OS' implementation of busybox, and I wonder if other packages are affected?