00-fsdev.sh: use more compact code in start_volumes

master
Fabio Erculiani 11 years ago
parent cd1cf77029
commit 451fac91b4

@ -185,9 +185,7 @@ start_volumes() {
ln -sf /dev/device-mapper /dev/mapper/control ln -sf /dev/device-mapper /dev/mapper/control
fi fi
if [ "${USE_MDADM}" = "1" ]; then [ "${USE_MDADM}" = "1" ] && start_md_volumes
start_md_volumes
fi
if [ "${USE_MULTIPATH_NORMAL}" = "1" ]; then if [ "${USE_MULTIPATH_NORMAL}" = "1" ]; then
good_msg "Scanning for multipath devices" good_msg "Scanning for multipath devices"

Loading…
Cancel
Save