Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 21:07:26 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        cperciva@FreeBSD.org
Cc:        freebsd-current@FreeBSD.org, freebsd-rc@FreeBSD.org
Subject:   Re: RFC: support for "first boot" rc.d scripts
Message-ID:  <20131014.210726.1989833413225901961.hrs@allbsd.org>
In-Reply-To: <525B258F.3030403@freebsd.org>
References:  <525B258F.3030403@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Mon_Oct_14_21_07_26_2013_864)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Colin Percival <cperciva@freebsd.org> wrote
  in <525B258F.3030403@freebsd.org>:

cp> I've attached a very simple patch which makes /etc/rc:

cp> +if ! [ -e /var/db/firstboot ]; then
cp> +	skip="$skip -s firstboot"
cp> +fi

 At this stage, it is possible that /var/db does not exist because it
 is before rc.d/mountcritlocal.

-- Hiroki

----Security_Multipart(Mon_Oct_14_21_07_26_2013_864)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iEYEABECAAYFAlJb3n4ACgkQTyzT2CeTzy37bgCfXuALJ9zLzm1tBIK73KZK9zDl
Ic0AnjTzKnonc/e4rjO4LVw0naeAtRqZ
=CHGa
-----END PGP SIGNATURE-----

----Security_Multipart(Mon_Oct_14_21_07_26_2013_864)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131014.210726.1989833413225901961.hrs>