```ruby
elsif in_ccm != 'true' && ha_state =='dead' && crmd == 'offline' && shutdown != 0
```