From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 06:02:20 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 E901516A4CE for ; Wed, 15 Dec 2004 06:02:20 +0000 (GMT) Received: from web51603.mail.yahoo.com (web51603.mail.yahoo.com [206.190.38.208]) by mx1.FreeBSD.org (Postfix) with SMTP id 316F043D45 for ; Wed, 15 Dec 2004 06:02:20 +0000 (GMT) (envelope-from jay2xra@yahoo.com) Received: (qmail 93273 invoked by uid 60001); 15 Dec 2004 06:02:19 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=BIp/Ff7Anj2gbaZSxtpRQiDtLEoDjrpRCWsZJKwyVSPAA8Kv4dFETbymxwjF8IEKutLIxSIiQwAu7uq0DQq/7O/W1GY26Tngb7b39zpEzpPvOrpgqIzfhpj3nRmsKIfXdnf0pjwp3BCAOHD1criBCyncUAxDxJHoX84iy9quo4k= ; Message-ID: <20041215060219.93271.qmail@web51603.mail.yahoo.com> Received: from [202.90.128.28] by web51603.mail.yahoo.com via HTTP; Tue, 14 Dec 2004 22:02:19 PST Date: Tue, 14 Dec 2004 22:02:19 -0800 (PST) From: Mark Jayson Alvarez To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Shell hacker and freebsd booting experts, I need some serious investigation regarding cups.sh 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: Wed, 15 Dec 2004 06:02:21 -0000 Good day, I found out this very weired experience on freebsd(4.10, 5.3) booting process one time when I was using my home pc. I've installed cups and renamed the cups.sh.sample to cups.sh to be able to run it at boot time. I have successfully set up my printer and be able to print some test page. Now, what bothers me most is that, each time I try to cancel the loading of shell scripts residing in /usr/local/etc/rc.d, particularly the cups.sh which I'm sure is causing the trouble, the computer starts to halt or shutdown just right when I'm about to type my username at the login prompt. Do you know what causes this problem? I'm thinking perhaps there's a bug in the cups.sh script that makes the computer halt if the script is cancelled while being read. I've tried it at work with my (5.3) workstation but then the same problem occurs. Try it yourself and I bet you'll experience the same thing. I haven't put any script to run inside the rc.d other than that of the cups.sh which was put by the cups installation process and other applications I've installed(kdelibs.sh..etc.). This is weired. Happens both on FreeBSD 4.10 and 5.3, only after installing cups. Any idea? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com