rc: code review on previous

This commit is contained in:
Franco Fichtner 2016-05-06 07:18:39 +02:00
parent 2734f2a0ae
commit f7f86de77b

View File

@ -102,8 +102,8 @@ setup_mfs_link()
# storage underneath to run.
if [ ! -d "${ROOT}${MFS}/${NAME}" ]; then
mkdir -p "${ROOT}/${MFS}"
mv "${MFS}/${NAME}" "${ROOT}/${MFS}"
mkdir -p "${ROOT}${MFS}"
mv "${MFS}/${NAME}" "${ROOT}${MFS}"
# create a symlink underneath as well
ln -s "${ROOT}${MFS}/${NAME}" "${MFS}/${NAME}"
fi