diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-28 10:00:49 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-08-28 10:00:49 +0000 |
| commit | db8ad19dab9387aebfa5f4ec81619c384c75c591 (patch) | |
| tree | 24501766aaa25b8edb25ec9881517cfc563fc3c5 /sbin/init | |
| parent | cc3840179b00d42104a6b6ca66467ce647762b96 (diff) | |
Notes
Diffstat (limited to 'sbin/init')
| -rw-r--r-- | sbin/init/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c index 413fa5e0aeba..8bbe9c7d8dcb 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -115,7 +115,7 @@ state_func_t catatonia __P((void)); state_func_t death __P((void)); enum { AUTOBOOT, FASTBOOT } runcom_mode = AUTOBOOT; -int reboot = FALSE; +int Reboot = FALSE; void transition __P((state_t)); state_t requested_transition = runcom; @@ -562,7 +562,7 @@ single_user() if (getsecuritylevel() > 0) setsecuritylevel(0); - if (reboot) { + if (Reboot) { /* Instead of going single user, let's halt the machine */ sync(); alarm(2); @@ -1141,7 +1141,7 @@ transition_handler(sig) requested_transition = clean_ttys; break; case SIGINT: - reboot = TRUE; + Reboot = TRUE; case SIGTERM: requested_transition = death; break; |
