void die_you_gravy_sucking_pig_dog() { char *empty_environ[] = { NULL }; syslog(LOG_NOTICE, "%s by %s: %s", doreboot ? "reboot" : dohalt ? "halt" : dopower ? "power-down" : "shutdown", whom, mbuf); ( void)sleep(2); ( void)printf( "\r\nSystem shutdown time has arrived\007\007\r\n"); if (killflg) { ( void)printf( "\rbut you'll have to do it yourself\r\n"); exit(0); } //.. } |