1 |
On Monday 08 June 2009 09:01:46 Roy Marples wrote: |
2 |
> Mike Frysinger wrote: |
3 |
> > i didnt see any real discussion of /sbin/functions.sh ... i dont recall |
4 |
> > there being a reason historically for not checking for this file to |
5 |
> > detect baselayout-1 vs openrc, and no one has complained about its usage |
6 |
> > in mdadm ... |
7 |
> |
8 |
> That works as a baselayout-1 vs openrc test. |
9 |
> However, there was, or will be, a need to detect OpenRC version as well |
10 |
> which that doesn't address. I don't know if that is needed right now |
11 |
> though. |
12 |
|
13 |
if openrc versions are causing a level of incompatibility, then it should |
14 |
itself be setting up an env var for init.d scripts to key off of rather than |
15 |
having to figure out what's going on via the filesystem. the point of this |
16 |
thread is to detect baselayout-1 vs openrc only. |
17 |
-mike |