This commit is contained in:
committed by
Git OBS Bridge
parent
90c5c1a6cc
commit
ad7f039e9b
5
boot.md
5
boot.md
@@ -130,9 +130,11 @@ case "$1" in
|
||||
rm -rf /tmp/mdadm.conf
|
||||
if ! mdadm --examine --scan --config=partitions >/tmp/mdadm.conf
|
||||
then
|
||||
echo "mdadm --examine --scan failed:"
|
||||
cat /tmp/mdadm.conf
|
||||
rm -f /tmp/mdadm.conf
|
||||
rc_failed 1
|
||||
rc_status -v
|
||||
chmod 0600 /tmp/mdadm.conf
|
||||
rc_exit
|
||||
fi
|
||||
chmod 0600 /tmp/mdadm.conf
|
||||
@@ -143,6 +145,7 @@ case "$1" in
|
||||
# no partitions found, "unused"
|
||||
rc_status -u
|
||||
fi
|
||||
rm -f /tmp/mdadm.conf
|
||||
|
||||
fi
|
||||
;;
|
||||
|
Reference in New Issue
Block a user