"epilogue" script?

markham breitbach markhamb at corp.ssimicro.com
Sat Jan 30 04:27:07 UTC 2016


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. 
...
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 described
> in /etc/rc.conf is done (services started, interfaces initialized etc.). I
> tried to follow RTFM advise, but it looks like I'm too stupid to be able
> 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 doable
> 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list