First commit
This commit is contained in:
6
poweroff.c
Normal file
6
poweroff.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <signal.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
return kill(1, (argv[0][0] == 'r') ? SIGINT : SIGUSR1);
|
||||
}
|
||||
Reference in New Issue
Block a user