Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2013 09:46:33 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-rc@freebsd.org
Subject:   Re: "firstboot" keyword?
Message-ID:  <510E31F9.9070709@FreeBSD.org>
In-Reply-To: <4FD83C6A-AD4F-47CE-B011-3B34286D640E@freebsd.org>
References:  <4FD83C6A-AD4F-47CE-B011-3B34286D640E@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2PLBKUGKANQIALVBDTCGW
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 03/02/2013 04:33, Tim Kientzle wrote:
> I'm experimenting with some rc.d scripts that would
> ideally only get run once the first time a system
> is booted.
>=20
> Is there any interest in trying to generalize this?
>=20
> I have in mind something like a "firstboot" keyword
> on an rc.d script:  If it's there, the script would
> only be run the first time the system is booted.

How about a slightly more general solution: an rc.d script that will run
once at the next boot and then deactivate itself?

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



------enig2PLBKUGKANQIALVBDTCGW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEOMf8ACgkQ8Mjk52CukIy74QCeLx0OWHkBLmhCn00Tr0kbhDID
m3kAnj17muzHavWLYaOPuLQ9gsOoYr5s
=4kmp
-----END PGP SIGNATURE-----

------enig2PLBKUGKANQIALVBDTCGW--



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