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 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"