Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62356419
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
Sun, May 12, 15:35
Size
420 B
Mime Type
text/x-shellscript
Expires
Tue, May 14, 15:35 (2 d)
Engine
blob
Format
Raw Data
Handle
17627359
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