В Пнд, 08/06/2009 в 20:54 -0400, Mike Frysinger пишет: > i dont see how that is relevant. we only care about Gentoo here. plus, the > test is: if /sbin/functions.sh exists, it's baselayout-1 (which no one else > outside of Gentoo will be using), otherwise it's openrc. once we toss > baselayout-1, there is no test as everything requires openrc.
Is there any problem with /etc/openrc-version? Some people already use other service startup/shutdown systems and there are plans to move this work to the tree (e.g. runit, that is in tree, but init scripts still not). So clear check what rc-system is installed will be useful for cases where we need to modify configuration files automatically. -- Peter.