to check if node rebooting we should use runlevel for rhel