diff options
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r-- | debian/mdadm.config | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/debian/mdadm.config b/debian/mdadm.config index 2cf4f4b8..9f0a080b 100644 --- a/debian/mdadm.config +++ b/debian/mdadm.config @@ -27,14 +27,6 @@ if [ -s $DEBIANCONFIG ] ; then MAILADDR=$(sed -rne 's/^MAILADDR[[:space:]]*([^[:space:]]+).*/\1/p' $CONFIG) fi - # if $MAIL_TO from $DEBIANCONFIG is set, give it priority. This is because - # it was used in the command line invocation of the mdadm monitor, and thus - # overruled any existing setting in /etc/mdadm/mdadm.conf. - # There's a slight chance of loss of a configuration setting (MAILADDR in - # /etc/mdadm/mdadm.conf), but it's only an email address, and it is likely - # unused anyway, thus we run the risk. - [ -n "${MAIL_TO:-}" ] && MAILADDR="$MAIL_TO" - [ -n "$AUTOSTART" ] && db_set mdadm/autostart "$AUTOSTART" [ -n "$AUTOCHECK" ] && db_set mdadm/autocheck "$AUTOCHECK" [ -n "$START_DAEMON" ] && db_set mdadm/start_daemon "$START_DAEMON" |