Fixed redhat script syntax errors