aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-sysvinit.h
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2019-08-15 12:02:30 -0500
committerWilliam Hubbs <william.hubbs@sony.com>2019-08-15 12:02:30 -0500
commit0dabda6f6ff3744c6f1b1d2afd57845554384977 (patch)
treef829361cc302ad0ae84c47dac2399cc5d0edaf3a /src/rc/rc-sysvinit.h
parent92de9a693b0e4156e404bc69ab230fe2355c22ca (diff)
fix sysvinit compatibility
This allows openrc to direct sysvinit to shut down the system by setting the INIT_HALT environment variable appropriately. Also, we do not try to communicate with sysvinit if its fifo does not exist.
Diffstat (limited to 'src/rc/rc-sysvinit.h')
-rw-r--r--src/rc/rc-sysvinit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/rc-sysvinit.h b/src/rc/rc-sysvinit.h
index 55bc434d..754a8266 100644
--- a/src/rc/rc-sysvinit.h
+++ b/src/rc/rc-sysvinit.h
@@ -67,5 +67,6 @@ struct init_request {
};
void sysvinit_runlevel(char rl);
+void sysvinit_setenv(char *name, char *value);
#endif