diff options
author | pjd <pjd@FreeBSD.org> | 2012-12-14 15:12:08 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2012-12-14 15:12:08 +0000 |
commit | 1d3ec906ca23ea5f5ff60e8ebe9b3bcc4f9033d2 (patch) | |
tree | ff13c1f2adc4025c6e1ae94e7bf27721174fc2bc /etc/rc.d | |
parent | ab75315eecbefcf8a215a0a13500f0923fc962f9 (diff) | |
download | FreeBSD-src-1d3ec906ca23ea5f5ff60e8ebe9b3bcc4f9033d2.zip FreeBSD-src-1d3ec906ca23ea5f5ff60e8ebe9b3bcc4f9033d2.tar.gz |
- When checking if a dump exists on the given device there is no need to
provide dump directory. Eliminate this redundant argument. This changes
the usage, but the only risk here is that a warning will be printed
about directory given as device.
- Update usage of -C option.
- When clearing dump header from the given device there is also no need to
provide dump directory, although additional arguments for -c were not
documented.
- Document that -v can be used with -c and that list of devices can be given.
Obtained from: WHEEL Systems
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/savecore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/savecore b/etc/rc.d/savecore index 4efb7db..3e61adc 100755 --- a/etc/rc.d/savecore +++ b/etc/rc.d/savecore @@ -62,7 +62,7 @@ savecore_start() ;; esac - if savecore -C "${dumpdir}" "${dev}" >/dev/null; then + if savecore -C "${dev}" >/dev/null; then savecore ${savecore_flags} ${dumpdir} ${dumpdev} if checkyesno crashinfo_enable; then ${crashinfo_program} -d ${dumpdir} |