From owner-freebsd-questions Sat Oct 23 7:35:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mout1.01019freenet.de (mout1.01019freenet.de [62.104.201.3]) by hub.freebsd.org (Postfix) with ESMTP id 608DA14D69 for ; Sat, 23 Oct 1999 07:35:19 -0700 (PDT) (envelope-from sold@mero-13a.merowingia.uni-kl.de) Received: from [62.104.201.2] (helo=mx1.01019freenet.de) by mout1.01019freenet.de with esmtp (Exim 3.03 #1) id 11f2GL-0001Z1-00 for FreeBSD-Questions@freebsd.org; Sat, 23 Oct 1999 16:35:17 +0200 Received: from [212.81.237.133] (helo=mero-13a.merowingia.uni-kl.de) by mx1.01019freenet.de with esmtp (Exim 3.03 #1) id 11f2GK-00038s-00 for FreeBSD-Questions@FreeBSD.org; Sat, 23 Oct 1999 16:35:16 +0200 Received: (from sold@localhost) by mero-13a.merowingia.uni-kl.de (8.9.3/8.9.3) id QAA01263; Sat, 23 Oct 1999 16:34:28 +0200 (CEST) (envelope-from sold) Date: Sat, 23 Oct 1999 16:34:28 +0200 (CEST) Message-Id: <199910231434.QAA01263@mero-13a.merowingia.uni-kl.de> From: Christoph Sold To: FreeBSD-Questions@FreeBSD.org Subject: My /usr/local/etc/kdm.sh script does not work Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Folks, I sumbled across a problem I am not able to solve myself: I want to start kdm automatically at boot time. However, my solution does not work. Here are the pieces: sold@mero-13a[local/etc/rc.d]> ls -alF drwxr-xr-x 2 root wheel 512 Oct 23 16:27 ./ drwxr-xr-x 4 root wheel 1024 Oct 14 02:07 ../ -r-xr-x--x 1 root wheel 81 Aug 30 18:29 kdm.sh* sold@mero-13a[local/etc/rc.d]> cat kdm.sh #!/bin/sh if [ -x /usr/local/bin/kdm ] ; then #sleep for some time to give getty a chance to grab its ttys (echo -n " kdm"; sleep 12; kdm 2>&1 > /var/log/kdm.startup)& fi exit 0 sold@mero-13a[local/etc/rc.d]> uname -a FreeBSD mero-13a.merowingia.uni-kl.de 3.3-STABLE FreeBSD 3.3-STABLE #5: Sun Sep 26 09:41:55 CEST 1999 sold@mero-14a.merowingia.uni-kl.de:/usr/src/sys/compile/CHEASY-STABLE i386 When booting, this script does nothing after it has printed " kdm". When invoked from any root shell, it starts kdm just fine. Any ideas most welcome. -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message