From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 12:43:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 141BC16A4D8 for ; Fri, 8 Oct 2004 12:43:48 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB33543D2D for ; Fri, 8 Oct 2004 12:43:47 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 906 invoked from network); 8 Oct 2004 12:43:47 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.no-ip.com) ([66.92.78.145]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 8 Oct 2004 12:43:47 -0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id CFE25E; Fri, 8 Oct 2004 08:43:46 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Robert Dormer References: <3174add604100705559f9877e@mail.gmail.com> From: Lowell Gilbert Date: 08 Oct 2004 08:43:46 -0400 In-Reply-To: <3174add604100705559f9877e@mail.gmail.com> Message-ID: <44zn2xxtvh.fsf@be-well.ilk.org> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: sleep in startup script never wakes up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 12:43:48 -0000 Robert Dormer 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...