summaryrefslogtreecommitdiff
path: root/initd/init.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 13:10:13 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 13:28:07 +0200
commit021f091082a74d5bd5503a3a3c7a569eee9c6d8f (patch)
tree5a1c742a3e4a1933ed3a54f39a7069f97e2500f1 /initd/init.h
parent0a280740716bde571c0f0db64d78a7f2141b56f4 (diff)
Use services to implement shutdown/reboot sequence
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'initd/init.h')
-rw-r--r--initd/init.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/initd/init.h b/initd/init.h
index dee0b00..826af0f 100644
--- a/initd/init.h
+++ b/initd/init.h
@@ -98,16 +98,6 @@ void print_status(const char *msg, int type, bool update);
*/
int mksock(void);
-/********** shutdown.c **********/
-
-/*
- Kindly tell all processes to go kill themselves, then send
- a SIGKILL if they don't and perform system shutdown.
-
- The argument is passed directly to the reboot() syscall.
-*/
-NORETURN void do_shutdown(int type);
-
/********** svclist.c **********/
/*