diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-12-02 14:44:24 -0800 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-12-02 14:44:24 -0800 |
commit | e8c8ebfc74203309871d4f291a378565f7ca4181 (patch) | |
tree | e819b26934e3e1f470048b3c717d11feb9b252c4 /debian | |
parent | 45628b369caa67c089f0984d31567df07d966b3e (diff) | |
download | vyatta-cfg-quagga-e8c8ebfc74203309871d4f291a378565f7ca4181.tar.gz vyatta-cfg-quagga-e8c8ebfc74203309871d4f291a378565f7ca4181.zip |
md: don't start unless needed
Don't start RAID (md) unless root device is configured for RAID.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 4 |
1 files changed, 2 insertions, 2 deletions
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/ |