Date: Thu, 31 May 2007 21:13:00 +0000 (UTC) From: Duane Hill <d.hill@yournetplus.com> To: freebsd-questions@freebsd.org Subject: Re: startup / shutdown script (rc.d) Message-ID: <20070531211051.N499@duane.dbq.yournetplus.com> In-Reply-To: <10902043.post@talk.nabble.com> References: <10902043.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 May 2007, gmoniey wrote: > > Hi, > > I was wondering if there is a simple way to create 1 script that will be > called during startup and shutdown. Basically, I am looking for something > like this: > > if startup > run command 1 with params > run command 2 with params > run command 3 with params > > if shutdown > run command 4 with params > run command 5 with params > run command 6 with params > > i have tried lookin up rc.d documentation, but it very vague and difficult > to understand...thanks I don't know if this is too vague as well or not. However, I used the man page for 'rc' on startup/shutdown scripts. Just do 'man rc'.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070531211051.N499>