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
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.
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
> 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 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
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions