diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-10-26 20:35:47 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-10-26 20:35:47 +0000 |
commit | 0aa16ba9b4f6a83811f5702bd682870e9636a1b0 (patch) | |
tree | 896e2bf5d3a2dd5d1c94d438e4e88b3d9e094d06 /debian/mdadm.postinst | |
parent | e12924fd05b2765d9c69ac8f568aa08b5b3f3a58 (diff) |
* Hide informational messages unless VERBOSE is set to a true value in
/etc/default/mdadm.
Diffstat (limited to 'debian/mdadm.postinst')
-rw-r--r-- | debian/mdadm.postinst | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/debian/mdadm.postinst b/debian/mdadm.postinst index ebdf1110..be53bdb4 100644 --- a/debian/mdadm.postinst +++ b/debian/mdadm.postinst @@ -43,6 +43,9 @@ case "${1:-}" in cp -a /etc/mdctl/mdctl.conf /etc/mdadm/mdadm.conf fi + # load current settings, most of which will be overwritten. + [ -f $DEBIANCONFIG ] && . $DEBIANCONFIG + db_get mdadm/mail_to MAILADDR="${RET:-root}" @@ -112,17 +115,20 @@ AUTOCHECK=$AUTOCHECK # should mdadm start the MD monitoring daemon during boot? START_DAEMON=$START_DAEMON +# VERBOSE= +# if this variable is set to true, mdadm will be a little more verbose e.g. +# when creating the initramfs. +VERBOSE=${VERBOSE:-false} + # MAIL_TO # this variable is now managed in /etc/mdadm/mdadm.conf (MAILADDR). # Please see mdadm.conf(5). -# USE_DEPRECATED_MDRUN= +# USE_DEPRECATED_MDRUN: # mdrun is deprecated. If you still want to use it without a warning, set # the following to true. # -# NOTE: changes to this variable will not be preserved! -# -USE_DEPRECATED_MDRUN=false +USE_DEPRECATED_MDRUN=${USE_DEPRECATED_MDRUN:-false} _eof db_stop |