Files
hestiacp/bin/v-check-rhel-utility

11 lines
166 B
Plaintext
Raw Normal View History

#!/bin/bash
# info: Check rehel or not
# options: none
# example: v-check-rhel-utility
if [ -f '/etc/redhat-release' ]; then
echo -n "+"
else
echo -n "-"
fi