Date: Sat, 11 Dec 1999 12:10:49 -0800 From: "Marc Wandschneider" <marcw@lanfear.com> To: "'Rob Kaper'" <cap@capsi.cx> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: rc.sysinit alike file in FreeBSD? Message-ID: <001c01bf4413$d20ba870$230a0cd0@SHURIKEN> In-Reply-To: <19991211210027.A20861@capsi.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
I don't believe that FreeBSD has the concept of runlevels, so if you run something in rc.local it's guaranteed to only be run at startup ... doing a search in my /etc directory shows that rc.local is ONLY run from rc, which only appears to be run at start up.. marc. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Rob Kaper > Sent: Saturday, December 11, 1999 12:00 PM > To: freebsd-questions@FreeBSD.ORG > Subject: rc.sysinit alike file in FreeBSD? > > > Hi, > > I am porting a Linux program to FreeBSD. The program's > functionality relies > on two start-up files: > > rc.local --> starts the daemon in the background > rc.S/sysinit --> creates a timestamp on startup > > It's very important for the way the program functions that > creating the > timestamp during startup only happens ONCE, no matter if runlevels are > switched, etc etc. > > I have found rc.local, is there a FreeBSD equivalent to this rc.S or > rc.sysinit file and what is it? Would it also work on > different *BSD's or > not? > > Rob > -- > Rob Kaper | mail: cap@capsi.com + cap@capsi.cx > | web: http://capsi.com/ + http://capsi.cx/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?001c01bf4413$d20ba870$230a0cd0>