adding native doas support to /usr/bin/s6-status
Hey there! I noticed that /usr/bin/s6-status checks for sudo, and if it's not present uses su. I've configured my system with doas, and I was wondering if the maintainers would be willing to add doas support.
It should be about two or three lines of code, something like this:
elif [ -f /usr/bin/doas ]; then
# shellcheck disable=????
exec doas -- "$0" ${OPTS}
I haven't actually tested this, and my workaround is an AUR package that provides sudo as a bash wrapper around doas. It's not supported officially, however, since it's in the AUR.
Thanks!