From e8c8ebfc74203309871d4f291a378565f7ca4181 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 2 Dec 2011 14:44:24 -0800 Subject: md: don't start unless needed Don't start RAID (md) unless root device is configured for RAID. --- debian/vyatta-cfg-system.postinst.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 6ce0a870..cc412632 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -190,11 +190,11 @@ password requisite pam_succeed_if.so user = root ' /etc/pam.d/passwd fi -# # Ask mdadm to call our own event handling daemon -# +# Don't start mdadm daemon when running on livecd if [ -e /etc/default/mdadm ]; then sed -i 's+^DAEMON_OPTIONS=.*$+DAEMON_OPTIONS="--syslog --program /opt/vyatta/sbin/vyatta-raid-event"+' /etc/default/mdadm + sed -i 's/^START_DAEMON.*$/START_DAEMON=false/' /etc/default/mdadm fi # remove unnecessary ddclient script in /etc/ppp/ip-up.d/ -- cgit v1.2.3