Add an env var so plugins know when leaving single means the end, or start the default level.
This commit is contained in:
parent
f53197818b
commit
41c1e170d6
@ -1092,6 +1092,7 @@ int main(int argc, char **argv)
|
||||
going_down = true;
|
||||
rc_runlevel_set(newlevel);
|
||||
setenv("RC_RUNLEVEL", newlevel, 1);
|
||||
setenv("RC_GOINGDOWN", "YES", 1);
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
/* FIXME: we shouldn't have todo this */
|
||||
|
Loading…
Reference in New Issue
Block a user