Skip site navigation (1)Skip section navigation (2)
Date:      08 Oct 2004 08:43:46 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Robert Dormer <rdormer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sleep in startup script never wakes up
Message-ID:  <44zn2xxtvh.fsf@be-well.ilk.org>
In-Reply-To: <3174add604100705559f9877e@mail.gmail.com>
References:  <3174add604100705559f9877e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Dormer <rdormer@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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44zn2xxtvh.fsf>