From owner-freebsd-questions@freebsd.org Fri Jan 29 22:51:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3B84A72F7A for ; Fri, 29 Jan 2016 22:51:21 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id C785D1AD2 for ; Fri, 29 Jan 2016 22:51:21 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 1542CCB8C9F; Fri, 29 Jan 2016 16:35:08 -0600 (CST) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 29 Jan 2016 16:35:07 -0600 (CST) Message-ID: <17145.128.135.52.6.1454106907.squirrel@cosmo.uchicago.edu> Date: Fri, 29 Jan 2016 16:35:07 -0600 (CST) Subject: "epilogue" script? From: "Valeri Galtsev" To: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2016 22:51:22 -0000 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 ++++++++++++++++++++++++++++++++++++++++