summaryrefslogtreecommitdiff
path: root/debian/mdadm.postinst
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-12-13 14:38:25 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-12-13 14:38:25 +0000
commit06402eb87cdff4a5644375de962795482be86968 (patch)
tree124671cfd10a92f4f5e94b9892787cf6353f5f8a /debian/mdadm.postinst
parent20cbd3233482cc8532255036b81ba4fb59f83113 (diff)
use --syslog and small fixes
Diffstat (limited to 'debian/mdadm.postinst')
-rw-r--r--debian/mdadm.postinst7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/mdadm.postinst b/debian/mdadm.postinst
index 81553e8c..3d0314b8 100644
--- a/debian/mdadm.postinst
+++ b/debian/mdadm.postinst
@@ -86,8 +86,7 @@ case "${1:-}" in
db_get mdadm/start_daemon
START_DAEMON="${RET:-true}"
#db_get mdadm/daemon_options
- [ -n "${DAEMON_OPTIONS:-}" ] || DAEMON_OPTIONS='-y'
- # see #402457 for reason to use -y instead of --syslog
+ [ -n "${DAEMON_OPTIONS:-}" ] || DAEMON_OPTIONS='--syslog'
cat <<_eof > $DEBIANCONFIG
# mdadm Debian configuration
@@ -122,12 +121,12 @@ START_DAEMON=$START_DAEMON
# additional options to pass to the daemon.
DAEMON_OPTIONS="$DAEMON_OPTIONS"
-# VERBOSE=
+# 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
+# MAIL_TO:
# this variable is now managed in /etc/mdadm/mdadm.conf (MAILADDR).
# Please see mdadm.conf(5).