script to be executed on system startup.
wojtek at wojtek.tensor.gdynia.pl
Wed Feb 6 14:31:20 UTC 2008
> I have a script file, i want that script to be executed on system
> I am doing this on Linux in following two steps : -
> 1. Copying the script to /etc/rc.d directory.
> 2. /sbin/chkconfig --add "scriptname"
> I want to achieve the same on FreeBSD
> chckconfig file is not present, documentation says i have to add it to
> rc.conf file.
you have to
1) make your own service started in /etc/rc.d (look at others for example)
2) simply add what's needed to rc.local
More information about the freebsd-questions