From owner-freebsd-questions Mon Oct 25 11: 5: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from onondaga.gate.net (onondaga.gate.net [198.206.134.31]) by hub.freebsd.org (Postfix) with ESMTP id 3F8A0152FB for ; Mon, 25 Oct 1999 11:04:32 -0700 (PDT) (envelope-from wjm@gate.net) Received: from tiwa.gate.net (wjm@tiwa.gate.net [199.227.0.141]) by onondaga.gate.net (8.8.6/8.6.12) with ESMTP id OAA134392; Mon, 25 Oct 1999 14:00:44 -0400 Received: from localhost (wjm@localhost) by tiwa.gate.net (8.8.6/8.7.3) with ESMTP id OAA65872; Mon, 25 Oct 1999 14:04:36 -0400 X-Authentication-Warning: tiwa.gate.net: wjm owned process doing -bs Date: Mon, 25 Oct 1999 14:04:36 -0400 (EDT) From: William Melanson To: Christoph Sold Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: My /usr/local/etc/kdm.sh script does not work In-Reply-To: <199910231434.QAA01263@mero-13a.merowingia.uni-kl.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 23 Oct 1999, Christoph Sold wrote: % Date: Sat, 23 Oct 1999 16:34:28 +0200 (CEST) % From: Christoph Sold % To: FreeBSD-Questions@FreeBSD.ORG % Subject: My /usr/local/etc/kdm.sh script does not work % % 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 Hmmm... I'd put the exact path to kdm as such: #!/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; /usr/local/bin/kdm 2>&1 > /var/log/kdm.startup & fi maybe he's just having problems finding it? :) --------------------------------oOo------------------------------------ William J. Melanson CyberGate, Inc. | e.spire Communications Sr Network Controller Deerfield Beach, FL 33441 Network Operations Center Phone: (954) 429-8080 finger wjm@gate.net PGP public key --------------------------------oOo------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message