Date: Mon, 25 Jun 2007 16:02:19 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Olivier Regnier <oregnier@oregnier.net> Cc: freebsd-questions@freebsd.org Subject: Re: Questions about shell scripts in /etc/periodic/daily Message-ID: <20070625210219.GD6494@dan.emsphone.com> In-Reply-To: <46802341.6070304@oregnier.net> References: <46802341.6070304@oregnier.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 25), Olivier Regnier said: > 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 ? rc stands for "return code"; you can see that each script ends with an "exit $rc" command. See the periodic(8) manpage for a description of what the different numbers represent. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070625210219.GD6494>