mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
Fix #136: drop old init client tool
The SysV API compatibility layer gives too little value to be worth the effort of maintaining it. Users are encouraged to use the `initctl` tool instead. Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
1 parent
eb6ac5ee22
commit
cb64c068e3
13 files changed
+20
-422
No files matched your search
@@ -183,12 +183,6 @@ static void send_svc(int sd, svc_t *svc)
|
||||
_d("Failed sending svc_t to client");
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* In contrast to the SysV compat handling in plugins/initctl.c, when
|
||||
* `initctl runlevel 0` is issued we default to POWERDOWN the system
|
||||
* instead of just halting.
|
||||
*/
|
||||
static void api_cb(uev_t *w, void *arg, int events)
|
||||
{
|
||||
int sd, lvl;
|
||||
|
||||
Reference in new issue
Block a user