From owner-freebsd-stable@FreeBSD.ORG Wed Jul 11 13:42:33 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3089B16A586 for ; Wed, 11 Jul 2007 13:42:33 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id E411413C469 for ; Wed, 11 Jul 2007 13:42:32 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so388270anc for ; Wed, 11 Jul 2007 06:42:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WGEhuAtRy9OrP6bq43CWxiQT43oCBXryyCM8+MTIjxiyvyZVSl7QU6cSlFGo5jHZm3VLgOMW7qXyAoGsfgZrjLMEWOLDcRQ81PEC5iQxZJJYYafzzJCgk80xyGtq/+oeKgeevAYIdHGfgy6380r3McG4eYa5PkZPkkrfeMH8MLM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ml2wJi9BcPkXjcneHsX5UH8rYiRfw0lIlgqjbgEj3k99bG17buoah7yGihl3k1C2HiU5zXz+sNK33IskLfFZY7055M5SUVXquyPaYTMRb9FyurtOQM/UTQuwwVu5AXt2RPM6/EHqDH0fK8PfgAaGfGSpr/Ho4wwPYSW9Osml7oo= Received: by 10.100.133.9 with SMTP id g9mr2766219and.1184161351811; Wed, 11 Jul 2007 06:42:31 -0700 (PDT) Received: by 10.100.173.17 with HTTP; Wed, 11 Jul 2007 06:42:31 -0700 (PDT) Message-ID: Date: Wed, 11 Jul 2007 23:42:31 +1000 From: "Morgan Reed" To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: rc.local equivalent X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 13:42:33 -0000 I'm working on a small footprint semi-embedded system, I need a means to load and save parts of /var (which is a memory-backed filesystem) at boot and shutdown. Given that rc.local is now deprecated, what is the "correct" way to perform extra startup/shutdown processes, should I write an rc.d script for it and insert it into the rcorder appropriately, or is there another mechanism? Thanks in advance Morgan