On Monday 08 June 2009 09:01:46 Roy Marples wrote: > 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.
if openrc versions are causing a level of incompatibility, then it should itself be setting up an env var for init.d scripts to key off of rather than having to figure out what's going on via the filesystem. the point of this thread is to detect baselayout-1 vs openrc only. -mike
