simple-init

A set of init binaries for linux
git clone git://depsterr.com/git/simple-init
Log | Files | Refs | README | LICENSE

commit a375f3ba10cd5adbf66348160ab52c48e7920d9f
parent 9340fe093b0192051827bc4a5aa381c65b195b42
Author: depsterr <depsterr@protonmail.com>
Date:   Sun, 31 May 2020 18:47:16 +0200

temporarily removed kill functions

Diffstat:
Minitscripts/shutdown.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/initscripts/shutdown.c b/initscripts/shutdown.c @@ -12,13 +12,6 @@ int main(int argc, char* argv[]) { log_message("Saving random seed"); save_random_seed(); - log_message("Sending TERM signal to all processes"); - kill(-1, SIGTERM); - sleep(2); - - log_message("Sending KILL signal to all processes"); - kill(-1, SIGKILL); - log_message("Unmounting all filesystems"); char* swapcmd[] = { "swapoff", "-a", 0}; char* umountcmd[] = { "umount", "-ra", 0};