Questions about shell scripts in /etc/periodic/daily
Pietro Cerutti
gahr at gahr.ch
Mon Jun 25 21:03:26 UTC 2007
Olivier Regnier wrote:
> Hi everyone :-)
>
> Just curiosly, in /etc/periodic/daily, there are many shell scripts but
> there is an variable rc by example :
> - rc=0
> - rc=1
> - rc=2
> - rc=3
> What exactly does the "rc=0, rc=1 ..." flag mean ?
They're the exit values of those scripts, so I guess rc means Return Code.
Read man periodic(8), especially the part beginning with "Each script is
required to exit with one of the following values:"
>
> Thank you :)
--
Pietro Cerutti
PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070625/67e0cb35/signature.pgp
More information about the freebsd-questions
mailing list