View Single Post
  #4   (View Single Post)  
Old 16th October 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Scripts ending in .sh are considered "old-style" scripts, and are run in alphabetical order after all "new-style" scripts.

Scripts without .sh are treated as "new-style" scripts, and are parsed by rcorder(8) before being executed. rcorder requires some header comments to determine what the script depends on and when it can be run. You can view how rcorder sees things by running:
# rcorder /etc/rc.d/* /usr/local/etc/rc.d/*
If you don't see your script listed there, then rcorder doesn't know about it. You're missing all the rcorder headers.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote