Mike Frysinger wrote:
i didnt see any real discussion of /sbin/functions.sh ... i dont recall there being a reason historically for not checking for this file to detect baselayout-1 vs openrc, and no one has complained about its usage in mdadm ...
That works as a baselayout-1 vs openrc test.However, there was, or will be, a need to detect OpenRC version as well which that doesn't address. I don't know if that is needed right now though.
Thanks Roy