From owner-freebsd-questions Mon Mar 18 2:58:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by hub.freebsd.org (Postfix) with SMTP id 4E0F037B405 for ; Mon, 18 Mar 2002 02:58:26 -0800 (PST) Received: from sgeine (AUTH login) at adsl-63-198-133-39.dsl.lsan03.pacbell.net (HELO edinburgh) (sgeine@63.198.133.39) by smtp.mail.vip.sc5.yahoo.com with SMTP; 18 Mar 2002 10:58:26 -0000 Reply-To: From: "Jesse Geddis" To: "FreeBSD-Questions" Subject: startup scripts Date: Mon, 18 Mar 2002 02:58:25 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG not sure why this hasn't been working I can run the script manually successfully but it doesn't seem to be run at boot. any ideas? '/usr/local/etc/rc.d/setiathome start' works FreeBSD skye.sgeine.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Mar 8 11:35:16 GMT 2002 sgeine@skye.sgeine.net:/usr/src/sys/compile/Skye i386 rc.conf local_startup="/usr/local/etc/rc.d" ls -al /usr/local/etc/rc.d total 3 drwxr-xr-x 2 root wheel 512 Mar 18 10:54 . drwxr-xr-x 4 root wheel 512 Mar 5 07:44 .. -rwxr-xr-x 1 root wheel 382 Mar 18 10:54 setiathome skye:/usr/local/etc/rc.d# cat setiathome #!/bin/sh echo -n 'Starting SETI@Home v3.03' case "$1" in start) chdir /usr/home/seti /usr/home/seti/setiathome -nice 19 -email > /dev/null 2> /dev/null & ;; stop) kill -9 `cat /usr/home/seti/pid.sah` ;; *) echo "Usage: `basename $0` {start|stop}" >&2 exit 64 ;; esac exit 0 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message