Merge "Check for root privilege in start.sh"

This commit is contained in:
Jenkins 2015-03-20 00:58:05 +00:00 committed by Gerrit Code Review
commit e201fd5206

View File

@ -6,6 +6,11 @@
# services are up. You will also need these in order to interact with the
# installation once started.
if [[ $EUID -ne 0 ]]; then
echo "You must execute this script as root." 1>&2
exit 1
fi
# Set SELinux to permissive
setenforce permissive