Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2008 19:39:59 +0530
From:      "navneet Upadhyay" <navneet.upadhyay@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   script to be executed on system startup.
Message-ID:  <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1563a4fd0802060609j59451879h3920be790d7667c0>