script to be executed on system startup.

Zbigniew Szalbot zszalbot at
Wed Feb 6 15:39:43 UTC 2008


2008/2/6, Wojciech Puchar <wojtek at>:
> > (for example: "/etc/rc.d/myscript")
> > 2. chmod a+x the script
> > 3. you're done.
> >
> > This will work for the recent versions of FreeBSD (you didn't say for
> > which version do you need it).
> you need to make that script react for "start" and "stop" commands at
> least

I just symlinked my sh script to /usr/local/etc/rc.d/ and it works
quite well without even touching rc.conf.


Zbigniew Szalbot

More information about the freebsd-questions mailing list