check for selinux status before turning it off

Script fails if SELinux disabled.
Fixed for RHEL5 version.