jhb
ff9581861d
Add the ability to run /usr/sbin/crashinfo on a new core dump automatically
...
during boot. Right now this is disabled by default, but it can be enabled
by setting 'crashinfo_enable=YES' in rc.conf.
MFC after: 2 weeks
2008-08-29 20:30:30 +00:00
mtm
661fae6762
Remove the $DUMPDIR variable. It's redundant and the rest of the
...
script uses $dumpdir directly.
2008-07-06 08:31:29 +00:00
mtm
e28d296d11
Make checking for the availability of core dumps work in the case
...
that $dumpdev is not set to "AUTO".
Reported by: Paul B. Mahol <onemda@gmail.com>
2008-07-06 07:51:29 +00:00
mtm
0203c01701
Run savecore(8) only if there is a core dump to save. If there is
...
no core dump hide the message to that effect behind $rc_quiet.
2008-06-23 20:54:32 +00:00
mtm
a12ffbbd8b
Move a lot of diagnostic output behind $rc_quiet in scripts that
...
implement their own start command.
2008-06-23 04:46:54 +00:00
dougb
127c69bf43
Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d files
...
with theirs, so this information doesn't need to be in the live file.
Having it in our CVS history is enough.
2007-12-08 07:20:23 +00:00
des
e84d8e229d
- use realpath /dev/dumpdev
instead of just /dev/dumpdev so messages
...
will show the real device name
- show different error messages for missing dump device and directory
2004-10-24 13:04:09 +00:00
thomas
55c32119bf
When dumpdev is set to 'auto', and a suitable swap device is found,
...
create a symbolic link /dev/dumpdev designating that device so
savecore can find and save a previous kernel dump.
2004-10-18 23:40:13 +00:00
mtm
39d3f406ce
Remove the requirement for the FreeBSD keyword as it no longer
...
makes any sense.
Discussed with: dougb, brooks
MFC after: 3 days
2004-10-07 13:55:26 +00:00
davidc
5dc13201b2
Echo and pass dumpdev as the device argument to savecore.
...
PR: bin/51655
2004-03-18 15:18:20 +00:00
pjd
798e9a1d99
Mark scripts as not usable inside a jail by adding keyword 'nojail'.
...
Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>
2004-03-08 12:25:05 +00:00
mtm
5da6236d01
Luke Mewburn has indicated that they (NetBSD) are not interested
...
in keeping the scripts under rc.d in sync with us. So, remove
NetBSD specific stuff (which made our scripts more complicated
than necessary).
The NetBSD ident string will be left intact, both for history and
also incase we wish to pull in future versions.
2004-01-17 10:59:43 +00:00
mtm
0bdb9e0220
Luke Mewburn has indicated that they (NetBSD) are not interested
...
in keeping the scripts under rc.d in sync with us. So, begin removal
of NetBSD specific stuff (which made our scripts more complicated
than necessary), starting with the NetBSD KEYWORD.
2004-01-17 10:16:38 +00:00
gordon
a7f04bb2b7
Convert from ${CMD_OSTYPE}
to ${OSTYPE}. This saves a shell invocation on
...
OS-dependent case switches.
2002-09-06 16:18:05 +00:00
gordon
9c5433cb22
Merge in all the changes that Mike Makonnen has been maintaining for a
...
while. This is only the script pieces, the glue for the build comes next.
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Reviewed by: silence on -current and -hackers
Prodded by: rwatson
2002-06-13 22:14:37 +00:00
obrien
afad76ee76
Import the NetBSD 1.5 RC system.
...
Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.
2001-06-16 07:16:14 +00:00