Commit Graph

66 Commits

Author SHA1 Message Date
wiz
13dc9abfef Sort SEE ALSO, use .Pp for paragraphs. 2001-11-16 12:06:32 +00:00
wiz
4ce43ae0cd Whitespace nits 2001-11-16 10:25:42 +00:00
mrg
6aca287eb4 expand -n documentation; from sunos. 2001-06-20 02:07:02 +00:00
cgd
8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
lukem
f022cce90b use openlog correctly... 2001-01-10 03:41:35 +00:00
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
jdolecek
a519c15410 Ignore SIGPIPE, otherwise we might be stuck when run within a pipe.
Fix from bin/5359 by Nathan J Williams.
2000-03-07 20:02:59 +00:00
simonb
d9c745bf82 "-l" means _don't_ log to syslog(3). 1999-08-19 13:43:27 +00:00
is
3523dc9c50 Back out the wait-for-slowly-dying-processes change. 1998-10-09 18:50:35 +00:00
augustss
91b9544ee2 Ignore some more signal during the reboot. Without this fix it's impossible
to e.g. reboot from a menu in the window manager as the reboot process
gets killed before it is done.
1998-08-29 11:17:20 +00:00
mycroft
b93acf4aaf const poisoning. 1998-07-26 20:02:36 +00:00
is
a7557bc638 Change poll interval to 1 seconds, for machines booting _really_ fast. 1998-07-06 05:21:07 +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
689db8fcc6 Use warn*(3). 1998-01-20 23:41:57 +00:00
mycroft
bc0a5a65c3 Clean up documentation a bit, and document the `-l' option. 1998-01-20 23:37:27 +00:00
mrg
970a5291cd fix reboot arguments handling (from cgd). 1997-12-09 05:49:14 +00:00
enami
0d4522a03f Fix .Nm usage. 1997-10-20 09:11:16 +00:00
lukem
2ddc10a0ab define WARNS?=1 for all of sbin/* 1997-09-15 12:45:47 +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
perry
404afa3db4 add WARNS=1 1997-07-19 23:04:24 +00:00
perry
6b1fa5ab98 1) Make WARNS=1 clean
2) to do 1), nuke the silly local version of err()
3) nuke "register" declarations.
1997-07-19 23:03:54 +00:00
perry
28753bf1c0 fix pr-2619, from cgd. really obscure bug in exec'ing reboot when single user. 1997-07-19 22:27:20 +00:00
perry
08c34b1604 fix halt when used as login shell, from cgd in pr-2618 1997-07-17 02:52:22 +00:00
perry
204351f3a5 The boot_${ARCH}.8 man files never belonged in reboot -- they have
been moved to man8.${ARCH}/boot.8. Note that this means that the
references in the pages to boot.8 are now actually true on many
architectures instead of being a lie on all.
1997-03-13 04:04:54 +00:00
mouse
80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
perry
c603ec4609 Remove boot_tahoe.8. We have no tahoe port. 1996-10-17 01:05:57 +00:00
leo
d548c05876 Fix typo. 1996-10-15 09:16:20 +00:00
leo
c22aea7778 Be a bit more exact about when the bootloader decides to start NetBSD. 1996-10-15 09:14:32 +00:00
mrg
ed46fe3a8e only log the bootstr if it exists. 1996-09-16 18:09:34 +00:00
mrg
a9f27985cf use the SunOS derived RB_STRING. 1996-08-10 00:20:58 +00:00
mrg
74693079c6 update for new reboot(2). 1996-08-09 10:32:11 +00:00
leo
5e49244ee9 Add the manual page. 1996-06-27 11:07:55 +00:00
thorpej
670604517a Add boot_x68k.8 to the list of man pages to install; the distrib sets
expect it.
1996-06-26 05:22:58 +00:00
oki
22abd6252f x68k system bootstrapping procedures. 1996-06-15 18:54:22 +00:00
mycroft
fd25fd5a19 Add a `-d' option to force a dump. From John Kohl. 1995-10-05 05:36:21 +00:00
gwr
9df0a9a560 Add boot_sun3.8 1995-08-08 20:46:20 +00:00
briggs
49c06cb6c4 Reorder man page sources in makefile (alphabetize) and
add boot_mac68k.8.
1995-07-02 02:09:50 +00:00
mellon
f4d4fdf315 Make boot_pmax man page. (from jonathan) 1995-05-31 16:46:07 +00:00
mellon
7b8bdc7ae5 pmax boot documentation 1995-04-25 23:55:11 +00:00
pk
7d07096c42 Bits from old reboot_sparc.8 man page. 1995-04-25 11:37:25 +00:00
cgd
cc345dc38d remove these (deprecated) files. port maintainers were warned about
their impending disappearance a while ago; they can still be retrieved
from the attic.
1995-04-23 10:58:38 +00:00
cgd
555d4b510e slightly clean rcs ids, etc. 1995-04-23 10:33:03 +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
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mellon
70eaf1d62a Fixed formatting and expanded content 1995-01-18 06:12:48 +00:00
mellon
ae56aa82ca reboot documentation for pmax 1995-01-18 02:01:21 +00:00