sleep in startup script never wakes up
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Fri Oct 8 05:43:48 PDT 2004
Robert Dormer <rdormer at gmail.com> writes:
> I have a shell script that I've put in the /usr/local/etc/rc.d
> directory of a box to do some fscking when needed. The script is
> straightforward, there are not any complicated control structures or
> anything like that. However, at one point it had a sleep statement in
> it that would go to sleep, but when the required number of seconds
> elapsed, it wouldn't wake up again. I've since rewritten the script
> to not require it, but I was wondering what's up with that? Is this a
> known problem?
I don't think so; I certainly don't see this symptom myself. Maybe
you're not invoking /bin/sleep? Make sure you specify the full path
in your script...
More information about the freebsd-questions
mailing list