I am using CentOS 6.6. I put this content into /etc/init.d/suricata.  I also ransudo chkconfig suricata onto make suricata run at boot.  My problem is that it is now preventing Centos from booting up.  The log ends with three lines all sayingsd 2:0:0:0 [sdb] Assuming drive cache: write throughI tried the Centos rescue disk and managed to get into the command line but /etc.init.d was unpopulated.  It appears that it becomes populated later on and the suricata script prevents CentOS from booting up.Is there a way for me to get rid of /etc/init.d/suricata so CentOS can boot up?   In Debian, one can use ctrl-alt-F4 to get to the command line but that is not working in CentOS. It may depend on the reason for the hang.
/etc/init/suricata stopping CentOS from booting up
centos;init.d
I used the rescue disk to go into the bash shell.  I then found the suricata executable in /usr/bin/suricata and renamed it /usr/bin/suricata1 so /usr/bin/suricata could not be found at boot.  That enabled me to boot up normally.