Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] rfc: gentoo base functions
Date: Fri, 01 Jul 2011 20:06:13
Message-Id: BANLkTi=FefJEuabnGTdvrMKkerBqPx1HXA@mail.gmail.com
In Reply to: [gentoo-dev] rfc: gentoo base functions by William Hubbs
1 On Fri, Jul 1, 2011 at 10:44, William Hubbs wrote:
2 > this is a followup thread to the one about openrc being mandatory on all
3 > gentoo systems.
4 >
5 > I started a new thread, because I want to figure out which
6 > functions located in /etc/init.d/functions.sh need to be available
7 > regardless of the init system in use.
8 >
9 > So far, I'm thinking this is the list:
10 >
11 > ebegin, eend, eerror, eerrorn, eindent, einfo, einfon, eoutdent,
12 > esyslog, ewarn, ewarnn, ewend, vebegin, veend, veindent, veinfo, veoutdent,
13 > vewarn, vewend
14 >
15 > Am I missing anything??
16
17 and the env vars as provided by `/lib/rc/bin/eval_ecolors`.
18 otherwise, i think this is a good starting point and covers the ones
19 off the top of my head.
20
21 note that this is the list required if openrc is not installed. if
22 openrc is installed, there are more. but those arent considered
23 "portable" as they're specific to baselayout-1/openrc.
24 -mike