Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 12:31:06 -0800
From:      "Marc Wandschneider" <marcw@lanfear.com>
To:        "'John Baldwin'" <jhb@FreeBSD.ORG>, "'Rob Kaper'" <cap@capsi.cx>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: rc.sysinit alike file in FreeBSD?
Message-ID:  <001e01bf4416$a6f0c730$230a0cd0@SHURIKEN>
In-Reply-To: <199912112028.PAA64986@server.baldwin.cx>

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

	"rc.local is deprecated.  Put a shell script in ${PREFIX}/etc/rc.d."

	Can you explain this line a bit more?  What is ${PREFIX} ???

	marc.


> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> Subject: RE: rc.sysinit alike file in FreeBSD?
> 
> 
> rc.local is deprecated.  Put a shell script in 
> ${PREFIX}/etc/rc.d.  These
> scripts are run every time during single-user to multi-user.  
> Re: sysinit, you
> can't use the boottime of the machine instead of the 
> timestamp?  Failing that,
> you could have a small utility that compared the timestamp 
> with the boottime,
> and only update the timestamp if its older, then run that 
> utility in the script
> in etc/rc.d/.  (Or even put that functionality in the startup 
> of the daemon.)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01bf4416$a6f0c730$230a0cd0>