Fix for sure this time though!
This commit is contained in:
parent
34b09d338b
commit
4838c5725e
1 changed files with 23 additions and 24 deletions
|
|
@ -156,16 +156,15 @@ else
|
|||
done
|
||||
fi
|
||||
echo "= done with /$volume"
|
||||
fi
|
||||
|
||||
if [[ $found -gt 0 ]] && [[ $readynasd ]] ; then
|
||||
echo "*** Restarting readynasd to finish changes... ***"
|
||||
systemctl restart readynasd
|
||||
else
|
||||
echo "Not starting readynasd because it returned a bad message earlier; restart manually."
|
||||
fi
|
||||
|
||||
done
|
||||
echo "================================================="
|
||||
echo "| Completed share creation! We were able to |"
|
||||
echo "| rebuild $shares shares and $iscsi LUNs. |"
|
||||
echo "================================================="
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue