Here is how to fix this:
(Assume the name of my script is myscript)
1 – Copy your script into /etc/init.d folder
2 – cd /etc/init.d
3 – chmod +x myscript
4 – Add these lines, including #, right after #!/bin/bash or #!/bin/sh:
# chkconfig: 2345 95 20
# description: Some description
# What your script does (not sure if this is necessary though)
# processname: myscript
5 – chkconfig –level 2345 myscript on

I'm a programmer at 
It was the first thing that popped up on Google, and the only thing I needed to add. Many Thanks!
Comment
Many thanks! I am no longer lost!
Comment
Perfect.
Ditto John’s comment.
Thanks!
Comment
THanks, helped me. !!
Comment
Big eternal gratitude: you answered a long standing question.
Comment
THanks, helped me. !!
Comment
Thanks! You made my day
Comment
Thanks a Lot! Perfect!! Made my life easy .. feeling relaxed..
Comment
thanks a bunch… you are a livesaver
Comment
Thanks a million! Saved my @$$
Comment
Looked all over for this info.
Thankyou.
Comment
Hey. This worked. Thanks a bunch! Without your help I would not have figured out why I was getting the message that my script was not chkconfig compliant.
Comment
VERY THANKS !
Comment
Great! Exactly what I was looking for. This solved a problem with a bash daemon of mine. I will post it soon on github.com/renich
It’s an ipUpdaterd for DNSExit
Comment
very nice … thanks
Comment
You are the man…
Comment
Thanks, and also, make sure the start/stop priority after “chkconfig: RUN-LEVELS ” is less than 100 (i got “service X does not support chkconfig error” when start/stop priority >= 100).
Comment
Thank you
my friend, you are so cool
Comment
ممنون مشکلم رو برطرف کرد
Comment
داش علی دمت گرم خیلی دنبالش بودم مشکلم حل شد.
زنده باشی
Comment
Thx man !
Comment