From owner-freebsd-embedded@FreeBSD.ORG Tue Dec 27 14:42:16 2011 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E71991065675 for ; Tue, 27 Dec 2011 14:42:16 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7038FC0C for ; Tue, 27 Dec 2011 14:42:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 099225CA27 for ; Tue, 27 Dec 2011 16:25:32 +0200 (EET) X-Virus-Scanned: amavisd-new at bulinfo.net Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id suQ3O6-CJzAG for ; Tue, 27 Dec 2011 16:25:31 +0200 (EET) Received: from [192.168.2.187] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id CDF1C5C963 for ; Tue, 27 Dec 2011 16:25:31 +0200 (EET) Message-ID: <4EF9D58A.9030608@bulinfo.net> Date: Tue, 27 Dec 2011 16:26:18 +0200 From: Krassimir Slavchev User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.23) Gecko/20110929 Thunderbird/3.1.15 MIME-Version: 1.0 To: freebsd-embedded@FreeBSD.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Interrupting boot process X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 14:42:17 -0000 Hello list, I use nanobsd (FreeBSD 8) and would like to prevent interrupting of the boot process by hitting CTRL+C. All consoles are marked as insecure in /etc/ttys. The problem is that the /etc/rc.initdiskless can be interrupted at the moment when /etc is empty and the result is dropping into a shell without asking for a password. I have tried to trap the interrupt signal from rc.initdiskless but no luck. What is the appropriate solution of this problem? Best Regards