script to be executed on system startup.

navneet Upadhyay navneet.upadhyay at gmail.com
Wed Feb 6 14:10:02 UTC 2008


Hi,
      I have a script file, i want that script to be executed on system
startup.

 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.

How can i add it to rc.conf file, is there any command?


More information about the freebsd-questions mailing list