diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-09-13 19:07:02 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-09-13 19:07:02 +0000 |
commit | 6f04d984127b3b37ff109caf71daabac989e4f87 (patch) | |
tree | 6db4db71784c56e847f493df9b477cd4469d3c58 /etc/rc.d/dumpon | |
parent | ad73a2c0e1f5112c666387cc422dbcd47de0f99e (diff) | |
download | FreeBSD-src-6f04d984127b3b37ff109caf71daabac989e4f87.zip FreeBSD-src-6f04d984127b3b37ff109caf71daabac989e4f87.tar.gz |
Use kenv -q to extract dumpdev rather than kenv, in order to avoid
spamming the console in the event that a loader tunable 'dumpdev'
isn't defined, which is not a relevant failure to report.
MFC after: 1 week
Diffstat (limited to 'etc/rc.d/dumpon')
-rw-r--r-- | etc/rc.d/dumpon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/dumpon b/etc/rc.d/dumpon index 648c6ab..7697eab 100644 --- a/etc/rc.d/dumpon +++ b/etc/rc.d/dumpon @@ -33,7 +33,7 @@ dumpon_start() [Nn][Oo] | '') ;; [Aa][Uu][Tt][Oo]) - dev=$(/bin/kenv dumpdev) + dev=$(/bin/kenv -q dumpdev) if [ -n "${dev}" ] ; then dumpon_try "${dev}" return $? |