Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F84140691
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, Sep 20, 23:18
Size
420 B
Mime Type
text/x-shellscript
Expires
Sun, Sep 22, 23:18 (2 d)
Engine
blob
Format
Raw Data
Handle
20945792
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