Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2007 14:06:45 -0700 (PDT)
From:      gmoniey <gmoniey@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   startup / shutdown script (rc.d)
Message-ID:  <10902043.post@talk.nabble.com>

next in thread | raw e-mail | index | archive | help

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
-- 
View this message in context: http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10902043
Sent from the freebsd-questions mailing list archive at Nabble.com.




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