From owner-freebsd-questions@freebsd.org Sat Jan 30 00:03:29 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 3459AA71A03 for ; Sat, 30 Jan 2016 00:03:29 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from pv33p04im-asmtp001.me.com (pv33p04im-asmtp001.me.com [17.143.181.10]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1ADAA19B4 for ; Sat, 30 Jan 2016 00:03:29 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from [192.168.0.14] (22-11-178-69.gci.net [69.178.11.22]) by pv33p04im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) with ESMTPSA id <0O1Q008IWLDDEI40@pv33p04im-asmtp001.me.com> for freebsd-questions@freebsd.org; Fri, 29 Jan 2016 23:03:15 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-01-29_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1601290384 Subject: Re: "epilogue" script? MIME-version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-type: text/plain; charset=utf-8 From: "Peter A. Giessel" X-Priority: 3 (Normal) In-reply-to: <17145.128.135.52.6.1454106907.squirrel@cosmo.uchicago.edu> Date: Fri, 29 Jan 2016 14:03:13 -0900 Cc: freebsd-questions@freebsd.org Content-transfer-encoding: quoted-printable Message-id: <46AC0A83-6093-4366-8148-9DC756930CDD@mac.com> References: <17145.128.135.52.6.1454106907.squirrel@cosmo.uchicago.edu> To: galtsev@kicp.uchicago.edu X-Mailer: Apple Mail (2.3112) 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: Sat, 30 Jan 2016 00:03:29 -0000 > Dear Experts, I=E2=80=99m not an expert... so this could be wrong... > 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.).=20 ... > 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. >=20 > Just pointers where to read will be great. I=E2=80=99m pretty sure you want to look at: https://www.freebsd.org/cgi/man.cgi?query=3Drcorder&sektion=3D8 I=E2=80=99m pretty sure it will involve setting the right dependancies = on your script to assure that in executes last.=