Date: Fri, 29 Jan 2016 21:27:04 -0700 From: markham breitbach <markhamb@corp.ssimicro.com> To: freebsd-questions@freebsd.org Subject: Re: "epilogue" script? Message-ID: <56AC3B98.5080801@corp.ssimicro.com> In-Reply-To: <17145.128.135.52.6.1454106907.squirrel@cosmo.uchicago.edu> References: <17145.128.135.52.6.1454106907.squirrel@cosmo.uchicago.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Back in the olden days, we used to use /etc/rc.local as the epilogue script. You can still toss things in there, and I believe they will be run, but that is no longer guaranteed to be the last of the startup scripts.=20 =2E.. This has made me go and actually `man rc` It is a really good man page, and should tell you everything you need to get your own custom scripts into the startup, but rc.local is still a quick and dirty place to just toss a few command lines. -Markham On 2016-01-29 3:35 PM, Valeri Galtsev wrote: > Dear Experts, > > How does one create "epoligue" script in FreeBSD. By "epoligue" script > script I mean here the script that is executed after everything describ= ed > in /etc/rc.conf is done (services started, interfaces initialized etc.)= =2E I > tried to follow RTFM advise, but it looks like I'm too stupid to be abl= e > to find leads. I tried to put what I need into /etc/rc.conf.local, and > what I put there is executed, but not after everything in /etc/rc.conf = is > done. > > I'm left clueless. As Linux refugee I have a feeling that this is doabl= e > without a hack, like making init script, and having "sleep ..." in it > before payload. In Linux this is done using /etc/rc.d/rc.local which is= > executed _after_ everything else is done. > > Just pointers where to read will be great. > > Thanks a lot for all your replies. > > Valeri > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56AC3B98.5080801>