Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2007 23:03:17 +0200
From:      Pietro Cerutti <gahr@gahr.ch>
To:        freebsd-questions@freebsd.org
Cc:        Olivier Regnier <oregnier@oregnier.net>
Subject:   Re: Questions about shell scripts in /etc/periodic/daily
Message-ID:  <46802D95.1060307@gahr.ch>
In-Reply-To: <46802341.6070304@oregnier.net>
References:  <46802341.6070304@oregnier.net>

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

Olivier Regnier wrote:
> Hi everyone  :-)
>=20
> Just curiosly, in /etc/periodic/daily, there are many shell scripts but=

> there is an variable rc by example :
> - rc=3D0
> - rc=3D1
> - rc=3D2
> - rc=3D3
> What exactly does the "rc=3D0, rc=3D1 ..." flag mean ?

They're the exit values of those scripts, so I guess rc means Return Code=
=2E
Read man periodic(8), especially the part beginning with "Each script is
required to exit with one of the following values:"

>=20
> Thank you :)

--=20
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp


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

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

iD8DBQFGgC2ZwMJqmJVx944RCq9hAJ9LsZ8yLKdMj6JbVzNeaTa4WxFsQwCgo2QJ
IWMwO4P04DTLFGiRK6zysNw=
=nw1Y
-----END PGP SIGNATURE-----

--------------enigDB4BF23A241120E18D0B925A--



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