From owner-freebsd-questions@FreeBSD.ORG Mon Jun 25 21:03:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B572816A469 for ; Mon, 25 Jun 2007 21:03:26 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 6DACB13C487 for ; Mon, 25 Jun 2007 21:03:26 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-187-205.dclient.hispeed.ch ([80.218.187.205] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1I2viX-00021V-En; Mon, 25 Jun 2007 23:03:25 +0200 Message-ID: <46802D95.1060307@gahr.ch> Date: Mon, 25 Jun 2007 23:03:17 +0200 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.4 (X11/20070618) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <46802341.6070304@oregnier.net> In-Reply-To: <46802341.6070304@oregnier.net> X-Enigmail-Version: 0.95.0 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDB4BF23A241120E18D0B925A" X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Olivier Regnier Subject: Re: Questions about shell scripts in /etc/periodic/daily X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2007 21:03:26 -0000 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--