Questions about shell scripts in /etc/periodic/daily

2007-06-25 Thread Olivier Regnier
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 ? Thank you :) ___ freebsd-questions@freebsd.org

Re: Questions about shell scripts in /etc/periodic/daily

2007-06-25 Thread Dan Nelson
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

Re: Questions about shell scripts in /etc/periodic/daily

2007-06-25 Thread Pietro Cerutti
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