script to be executed on system startup.
fbsd06 at mlists.homeunix.com
Sat Feb 9 18:10:22 UTC 2008
On Thu, 7 Feb 2008 19:19:48 +0530
"navneet Upadhyay" <navneet.upadhyay at gmail.com> wrote:
> After putting my script to /etc/rc.d , it gets executed at
> startup and the parameter passed to the script is *faststart .*
> *I want the same script to be executed when system shuts down , how
> can i do that.*
Don't put it in /etc/rc.d/, give it a .sh extension and put it
in /usr/local/etc/rc.d/. It will then get stop/start arguments.
More information about the freebsd-questions