Commit Graph

12 Commits

Author SHA1 Message Date
hubertf
416a0bca75 Implement a "poweroff" command which is equivalent to "halt -p",
but allows powering down the system from an exec(2) call, e.g. via
a user which has "poweroff" as login shell.

The command name is modeled after Solaris.
2000-04-25 14:03:25 +00:00
simonb
d9c745bf82 "-l" means _don't_ log to syslog(3). 1999-08-19 13:43:27 +00:00
is
25718b8405 Make halt and reboot wait up to 32 seconds after kill(-1, SIGTERM), but
check at 3 second intervals if any are left.
This will help slow machines to cleanly shut down X servers (to make the
console visible), databases, or Usenet news servers.
1998-07-03 13:59:56 +00:00
thorpej
5f9840e94e Add a -p option to halt(8), specifying that the system should be powered
down.
1998-06-06 21:05:41 +00:00
mycroft
e3e9aba051 Correct the tense of one sentence. 1998-01-20 23:43:41 +00:00
mycroft
bc0a5a65c3 Clean up documentation a bit, and document the `-l' option. 1998-01-20 23:37:27 +00:00
enami
0d4522a03f Fix .Nm usage. 1997-10-20 09:11:16 +00:00
lukem
be24f789ad - use .Nm correctly
- use __progname instead of rindex(argv[0]) ...
1997-09-15 07:38:32 +00:00
mikel
158fe89700 xref sync(8) not nonexistent sync(1), reorder xrefs 1997-07-22 05:35:45 +00:00
mycroft
fd25fd5a19 Add a `-d' option to force a dump. From John Kohl. 1995-10-05 05:36:21 +00:00
cgd
ce5ebe9911 pseudo-merge with Lite; man pages need to be merged seperately, but
that's really a port-specific thing.  They probably should be updated, too.
1995-03-18 16:11:33 +00:00
cgd
369451e46b from Lite 1995-03-18 15:17:32 +00:00