Page MenuHomec4science

bamc_sanity.sh
No OneTemporary

File Metadata

Created
Sun, May 12, 15:35

bamc_sanity.sh

#!/bin/bash
function action_sanity-checks() {
verbose "Checking system..."
local rc=0
check_OS
rc=$((rc+$?))
check_OS_subtype
rc=$((rc+$?))
check_AMC_version
rc=$((rc+$?))
color_echo "OS_TYPE=$OS"
color_echo "OS_SUBTYPE=$OS_SUBTYPE"
color_echo "AMC_VERSION=$AMC_VERSION"
if [ $rc -gt 0 ]; then
error "Something might not be setup correclty"
else
verbose "System looks OK"
fi
return $rc
}
# EOF

Event Timeline