need a shell script that can be executed manually or as part of the rc process. How can the script detect WHERE it is being called from to know how to handle various options.

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sun Apr 6 13:03:53 UTC 2008


> One simpler would be to use a cron job that runs @reboot
> I believe these cron jobs would be run after the system is booted in

i'm sure it's run when cron deamon is started. which is when system boots 
but - when doing say /etc/rc.d/cron restart - too.


More information about the freebsd-questions mailing list