Aaron Konstam wrote:
Try:
# chkconfig popfile --list
to see the startup status for each runlevel.
However, for this to work you need to add a special header to the file in /etc/init.d specifying at what run levels and in what order you want the script to run. Look at other files in this directory to see examples of the header lines you need to add.
You can also read the sysvinitfiles in the initscripts docs for a detailed description. The header is also covered in the chkconfig man page.
Mikkel