Commit Graph

76 Commits

Author SHA1 Message Date
agc
276d62f603 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
wiz
52c7291619 Bump date. 2003-04-04 19:02:44 +00:00
perry
aa62e15ec9 1) Remove a reference to a 30 second delay left when Ignatios
backed out a 30 second delay from the program.
2) Add a CAVEATS section noting that the command cannot and should not
   be stopped once started.
2003-04-04 18:13:47 +00:00
perry
cf423b3982 1) To eliminate a race condition in which the user could conceivably
try to quit or stop the program right at the moment after the it
   sends a TSTP to init, move the kill(1, TSTP) to right after we
   block most signals, instead of doing it just before.
2) To add TSTP to the signals we ignore. Once we start halting, it
   really is not safe to try to stop at all. You can't change your
   mind halfway through -- init will already be stopped and a TERM
   will have been sent to everything on the system within
   milliseconds of starting.
3) Adjust one comment for TNF
2003-04-04 17:43:08 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
wiz
42ec3bd114 Support wtmpx. 2002-08-02 15:05:57 +00:00
wiz
d9deaad608 de__P(), ANSIfy. 2002-08-02 14:59:40 +00:00
tsutsui
4b541a44d0 Drop a trailing space in bootstr[] properly. 2002-07-20 06:44:45 +00:00
wiz
73d9fb5b1f Sync order of programs with their actions, noted by mrg. 2002-04-17 16:31:02 +00:00
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