Redhat /etc script bug fix by flavio-fernans