Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F66024540
bamc_sanity.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jun 7, 19:11
Size
420 B
Mime Type
text/x-shellscript
Expires
Sun, Jun 9, 19:11 (2 d)
Engine
blob
Format
Raw Data
Handle
18159954
Attached To
R1066 amc-cape
bamc_sanity.sh
View Options
#!/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
Log In to Comment