Date: Wed, 22 Feb 2006 09:03:25 +0300 (MSK) From: Dmitry Morozovsky <marck@rinet.ru> To: freebsd-rc@FreeBSd.org Subject: /etc/rc.d/earlyroot (fwd) Message-ID: <20060222085814.U85700@woozle.rinet.ru>
next in thread | raw e-mail | index | archive | help
Dear colleagues, what about creating the following rc.d script? There are situations where you should modify something on a root partition, and console is not available; early.sh is not suitable because when it executes root is mounted r/o, and duplicating /etc/rc.d/root functionality in /etc/rc.early or invoking it from there does not seem elegant nor appropriate to me. You thoughts? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ -- 8< -- #!/bin/sh # # $FreeBSD$ # # REQUIRE: root # BEFORE: mountcritlocal # KEYWORD: nojail if [ -r /etc/rc.earlyroot ]; then sh /etc/rc.earlyroot fi -- 8< --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060222085814.U85700>