Searched refs:dohalt (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sbin/reboot/
H A Dreboot.c63 static int dohalt; variable
75 dohalt = 1;
150 if (dohalt) {
252 (void)fprintf(stderr, dohalt ?
/freebsd-11-stable/sbin/shutdown/
H A Dshutdown.c92 static int dohalt, dopower, doreboot, killflg, mbuflen, oflag; variable
150 dohalt = 1;
177 if (killflg + doreboot + dohalt + dopower > 1)
180 if (oflag && !(dohalt || dopower || doreboot))
359 doreboot ? "reboot" : dohalt ? "halt" : dopower ? "power-down" :
370 else if (dohalt)
380 dohalt ? SIGUSR1 : /* halt */
391 else if (dohalt) {

Completed in 113 milliseconds