keywords -> keyword
This commit is contained in:
parent
42bfd7b6dc
commit
e1e36b2872
@ -9,7 +9,7 @@ depend()
|
|||||||
{
|
{
|
||||||
need root
|
need root
|
||||||
before devd net
|
before devd net
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
_set()
|
_set()
|
||||||
|
@ -16,7 +16,7 @@ depend()
|
|||||||
{
|
{
|
||||||
need localmount
|
need localmount
|
||||||
after bootmisc
|
after bootmisc
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -11,7 +11,7 @@ extra_started_commands="reload"
|
|||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need localmount
|
need localmount
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -7,7 +7,7 @@ description="Saves a kernel dump."
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
need localmount
|
need localmount
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -21,7 +21,7 @@ depend()
|
|||||||
[ "${clock}" != "UTC" -a ! -e /etc/wall_cmos_clock ]; then
|
[ "${clock}" != "UTC" -a ! -e /etc/wall_cmos_clock ]; then
|
||||||
need root
|
need root
|
||||||
fi
|
fi
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -10,7 +10,7 @@ depend() {
|
|||||||
need localmount
|
need localmount
|
||||||
after bootmisc
|
after bootmisc
|
||||||
before net.lo0
|
before net.lo0
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
|
@ -6,7 +6,7 @@ description="Configures a specific kernel dump device."
|
|||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need swap
|
need swap
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
@ -13,7 +13,7 @@ opts="panic showstatus"
|
|||||||
depend() {
|
depend() {
|
||||||
before net
|
before net
|
||||||
provide firewall
|
provide firewall
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
ipfw() {
|
ipfw() {
|
||||||
|
@ -7,7 +7,7 @@ extra_commands="restore"
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
need localmount
|
need localmount
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
restore()
|
restore()
|
||||||
|
@ -12,7 +12,7 @@ depend()
|
|||||||
need localmount
|
need localmount
|
||||||
use logger
|
use logger
|
||||||
after bootmisc
|
after bootmisc
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre()
|
start_pre()
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need localmount
|
need localmount
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
@ -28,7 +28,7 @@ depend()
|
|||||||
else
|
else
|
||||||
before *
|
before *
|
||||||
fi
|
fi
|
||||||
keywords nouml novps noxenu
|
keyword nouml novps noxenu
|
||||||
}
|
}
|
||||||
|
|
||||||
setupopts()
|
setupopts()
|
||||||
|
@ -9,7 +9,7 @@ depend()
|
|||||||
need localmount
|
need localmount
|
||||||
need keymaps # sets up terminal encoding scheme
|
need keymaps # sets up terminal encoding scheme
|
||||||
after hotplug
|
after hotplug
|
||||||
keywords nouml novps noxenu
|
keyword nouml novps noxenu
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -15,7 +15,7 @@ dumpkeys_charset=${dumpkeys_charset:-${DUMPKEYS_CHARSET}}
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
need localmount
|
need localmount
|
||||||
keywords nouml novps noxenu
|
keyword nouml novps noxenu
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -7,7 +7,7 @@ description="Loads a user defined list of kernel modules."
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
use isapnp
|
use isapnp
|
||||||
keywords novps
|
keyword novps
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -6,7 +6,7 @@ depend()
|
|||||||
{
|
{
|
||||||
use hostname
|
use hostname
|
||||||
before bootmisc logger
|
before bootmisc logger
|
||||||
keywords novps
|
keyword novps
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -7,7 +7,7 @@ description="Check and repair filesystems according to /etc/fstab"
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
after clock modules
|
after clock modules
|
||||||
keywords nojail notimeout
|
keyword nojail notimeout
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -7,7 +7,7 @@ description="Executes user commands in /etc/conf.d/local"
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
after *
|
after *
|
||||||
keywords notimeout
|
keyword notimeout
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -8,7 +8,7 @@ depend()
|
|||||||
{
|
{
|
||||||
need fsck
|
need fsck
|
||||||
use modules mtab
|
use modules mtab
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -34,7 +34,7 @@ depend()
|
|||||||
config /etc/fstab
|
config /etc/fstab
|
||||||
need net ${pmap}
|
need net ${pmap}
|
||||||
use afc-client amd autofs dns nfs nfsmount portmap rpcbind rpc.statd
|
use afc-client amd autofs dns nfs nfsmount portmap rpcbind rpc.statd
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -7,7 +7,7 @@ description="Mount the root fs read/write"
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
need fsck
|
need fsck
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
need localmount
|
need localmount
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
start()
|
start()
|
||||||
|
@ -9,7 +9,7 @@ description="Initializes the random number generator."
|
|||||||
depend()
|
depend()
|
||||||
{
|
{
|
||||||
need localmount
|
need localmount
|
||||||
keywords nojail
|
keyword nojail
|
||||||
}
|
}
|
||||||
|
|
||||||
save_seed()
|
save_seed()
|
||||||
|
@ -131,7 +131,7 @@ The service will start before these services and stop after these services.
|
|||||||
We provide this virtual service. For example, named provides dns.
|
We provide this virtual service. For example, named provides dns.
|
||||||
.It Ic config
|
.It Ic config
|
||||||
We should recalculate our dependencies if the listed files have changed.
|
We should recalculate our dependencies if the listed files have changed.
|
||||||
.It Ic keywords
|
.It Ic keyword
|
||||||
Tags a service with a keyword. Here's the keywords we currently understand:-
|
Tags a service with a keyword. Here's the keywords we currently understand:-
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
.It Dv nojail
|
.It Dv nojail
|
||||||
|
@ -24,8 +24,8 @@ after() {
|
|||||||
provide() {
|
provide() {
|
||||||
[ -n "$*" ] && echo "${SVCNAME} iprovide $*" >&3
|
[ -n "$*" ] && echo "${SVCNAME} iprovide $*" >&3
|
||||||
}
|
}
|
||||||
keywords() {
|
keyword() {
|
||||||
[ -n "$*" ] && echo "${SVCNAME} keywords $*" >&3
|
[ -n "$*" ] && echo "${SVCNAME} keyword $*" >&3
|
||||||
}
|
}
|
||||||
depend() {
|
depend() {
|
||||||
:
|
:
|
||||||
@ -66,7 +66,7 @@ for _dir in /etc/init.d /usr/local/etc/init.d; do
|
|||||||
depend
|
depend
|
||||||
|
|
||||||
# Add any user defined depends
|
# Add any user defined depends
|
||||||
for _deptype in config need use after before provide keywords; do
|
for _deptype in config need use after before provide keyword; do
|
||||||
eval _depends=\$rc_$(shell_var "${SVCNAME}")_${_deptype}
|
eval _depends=\$rc_$(shell_var "${SVCNAME}")_${_deptype}
|
||||||
[ -z "${_depends}" ] && eval _depends=\$rc_${_deptype}
|
[ -z "${_depends}" ] && eval _depends=\$rc_${_deptype}
|
||||||
${_deptype} ${_depends}
|
${_deptype} ${_depends}
|
||||||
|
@ -21,7 +21,7 @@ depend()
|
|||||||
need localmount
|
need localmount
|
||||||
after bootmisc
|
after bootmisc
|
||||||
provide net
|
provide net
|
||||||
keywords nojail
|
keyword nojail
|
||||||
|
|
||||||
case "${IFACE}" in
|
case "${IFACE}" in
|
||||||
lo|lo0);;
|
lo|lo0);;
|
||||||
@ -33,7 +33,7 @@ depend()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local dep= prov=
|
local dep= prov=
|
||||||
for dep in need use before after provide keywords; do
|
for dep in need use before after provide keyword; do
|
||||||
eval prov=\$rc_${dep}_${IFVAR}
|
eval prov=\$rc_${dep}_${IFVAR}
|
||||||
if [ -n "${prov}" ]; then
|
if [ -n "${prov}" ]; then
|
||||||
${dep} ${prov}
|
${dep} ${prov}
|
||||||
|
@ -881,7 +881,7 @@ next:
|
|||||||
for (depinfo = deptree; depinfo; depinfo = depinfo->next)
|
for (depinfo = deptree; depinfo; depinfo = depinfo->next)
|
||||||
{
|
{
|
||||||
bool removed = false;
|
bool removed = false;
|
||||||
if ((deptype = get_deptype (depinfo, "keywords"))) {
|
if ((deptype = get_deptype (depinfo, "keyword"))) {
|
||||||
STRLIST_FOREACH (deptype->services, service, i)
|
STRLIST_FOREACH (deptype->services, service, i)
|
||||||
if (strcmp (service, nosys) == 0) {
|
if (strcmp (service, nosys) == 0) {
|
||||||
if (last_depinfo)
|
if (last_depinfo)
|
||||||
|
@ -515,7 +515,7 @@ static bool svc_wait (rc_depinfo_t *depinfo, const char *svc)
|
|||||||
return (false);
|
return (false);
|
||||||
|
|
||||||
/* Some services don't have a timeout, like fsck */
|
/* Some services don't have a timeout, like fsck */
|
||||||
keywords = rc_deptree_depend (depinfo, svc, "keywords");
|
keywords = rc_deptree_depend (depinfo, svc, "keyword");
|
||||||
STRLIST_FOREACH (keywords, s, i) {
|
STRLIST_FOREACH (keywords, s, i) {
|
||||||
if (strcmp (s, "notimeout") == 0) {
|
if (strcmp (s, "notimeout") == 0) {
|
||||||
forever = true;
|
forever = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user