Commit 98427c87 authored by dammkewl's avatar dammkewl
Browse files

Removed overzealous mount checks.

parent b2990cfe
......@@ -7,27 +7,6 @@
_load_user_conf
if ! findmnt "${INSTALL_DIR}" 1>/dev/null; then
cat <<EOF
${RED}
***
Missing drive mount at ${INSTALL_DIR}! Please contact support for assistance.
***
${NC}
EOF
_sleep
cat <<EOF
${RED}
***
Exiting RoninDojo in 5 seconds...
***
${NC}
EOF
_sleep 5 --msg "Returning to menu in"
exit 1
fi
if [ -d "${dojo_path_my_dojo}" ]; then
cat <<EOF
${RED}
......
......@@ -730,28 +730,6 @@ _dojo_check() {
_load_user_conf
# Check that ${INSTALL_DIR} is mounted
if ! findmnt "${INSTALL_DIR}" 1>/dev/null; then
cat <<EOF
${RED}
***
Missing drive mount at ${INSTALL_DIR}!
***
${NC}
EOF
_sleep 3
cat <<EOF
${RED}
***
Please contact support for assistance...
***
${NC}
EOF
_sleep 5 --msg "Returning to main menu in"
ronin
fi
_is_active docker
if [ -d "${DOJO_PATH}" ] && [ "$(docker inspect --format='{{.State.Running}}' db 2>/dev/null)" = "true" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment