I have this script in /etc/init.d, but I don't see any of its log messages in /var/log. They are of the form:
echo "ACM: here I am!" >&2
Since they are all prefixed w/"ACM", grep'ing "ACM" should make it easy to figure out where they are, but they don't seem to be anywhere.
I have a symlink in /etc/rc0.d/ given as
lrwxrwxrwx 1 root root 20 Mar 19 11:13 K01b2umount -> ../init.d/umountb2
And in /etc/init.d/ is a script that has the same permissions as all its peers. So I don't see why it wouldn't be executed. There's no way to execute that script without generating log messages, so where are they?
I'm running Ubuntu 22.04.2.