From owner-freebsd-questions@FreeBSD.ORG Fri Oct 15 04:47:04 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 BD94816A4CE for ; Fri, 15 Oct 2004 04:47:04 +0000 (GMT) Received: from web53006.mail.yahoo.com (web53006.mail.yahoo.com [206.190.39.196]) by mx1.FreeBSD.org (Postfix) with SMTP id 40F0D43D49 for ; Fri, 15 Oct 2004 04:47:04 +0000 (GMT) (envelope-from ntwrk_engr@yahoo.com) Message-ID: <20041015044703.29956.qmail@web53006.mail.yahoo.com> Received: from [216.19.43.125] by web53006.mail.yahoo.com via HTTP; Thu, 14 Oct 2004 21:47:03 PDT Date: Thu, 14 Oct 2004 21:47:03 -0700 (PDT) From: Henri Prudhomme To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Problem with Swatch script in /usr/local/etc/rc.d X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 04:47:04 -0000 I am running freebsd 4.10. I have a case start / stop script for Swatch in /usr/local/etc/rc.d. I can run the script manually as superuser and it works correctly - Swatch correctly starts and stops, and runs as a daemon in the backgound. But when I reboot the server, the Swatch service doesn't start (and no error messages). By RTFM my understanding is that for 4.10 nothing special is needed. Just make sure the script is in the rc.d directory, is executable (755) and ends with .sh. The script is owned by root and wheel. I've google and re-read, but I'm at a dead end. Can anyone help me understand why the command line execution of the script works, but on boot-up through rc.d the script won't work? I can provide details of the script if needed, but it seems there is something fundamental that I am missing. Thanks. Henri __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com