Date: Wed, 11 Jul 2007 10:07:57 -0400 From: Michael Proto <mike@jellydonut.org> To: Morgan Reed <morgan.s.reed@gmail.com> Cc: stable@freebsd.org Subject: Re: rc.local equivalent Message-ID: <4694E43D.90303@jellydonut.org> In-Reply-To: <b024b3480707110642h33a7fb7dy105df656965d646a@mail.gmail.com> References: <b024b3480707110642h33a7fb7dy105df656965d646a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Morgan Reed wrote: > 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 I'm also doing embedded system work on a PC Engines WRAP platform with a CF-based disk, and I'm using custom rc.d scripts for this purpose. Mainly little scripts to enable specific LEDs at the end of the boot process and to copy misc. read-only files from the CF into a memory filesystem during boot. Works rather well, and the documentation in /usr/share/doc/en/articles/rc-scripting was a big help in this regard. -Proto
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4694E43D.90303>