From owner-freebsd-questions@FreeBSD.ORG Tue Jul 2 06:40:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A66F1412 for ; Tue, 2 Jul 2013 06:40:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6FFC51955 for ; Tue, 2 Jul 2013 06:40:58 +0000 (UTC) Received: from r56.edvax.de (port-92-195-76-18.dynamic.qsc.de [92.195.76.18]) by mx02.qsc.de (Postfix) with ESMTP id C896724CAA; Tue, 2 Jul 2013 08:40:50 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r626ev68002565; Tue, 2 Jul 2013 08:40:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 2 Jul 2013 08:40:57 +0200 From: Polytropon To: tak.official@gmail.com Subject: Re: any way to stop boot2 from waiting for keypress at system startup Message-Id: <20130702084057.143d3eeb.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2013 06:40:58 -0000 On Tue, 2 Jul 2013 11:05:22 +0430, takCoder wrote: > Hi Everyone, > > i wanna stop boot2 from getting a input string to change default boot > point.. is there any way around, other than changing boot2.c source code to > disable this feature?? > > As you may know, on system-startup, if you press any key, you will see the > following prompt, waiting for you to enter related string: > FreeBSD/x86 boot > Default: 0:ad(0,a) > boot: > > I checked it and found out that i can change boot2.c file to disable this > section.. but I'd rather find another way.. Would you please let me know > whether there are any other ways to do so? Without having checked it, but is this what you are searching for? In /boot/loader.conf: autoboot_delay="-1" >From /boot/defaults/loader.conf: Delay in seconds before autobooting, set to -1 if you don't want user to be allowed to interrupt autoboot process and escape to the loader prompt, set to "NO" to disable autobooting I'm using autoboot_delay="1" to limit the time which the system is waiting before continuing the boot process. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...