From owner-freebsd-questions@FreeBSD.ORG Tue Jul 2 10:48:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CE409830 for ; Tue, 2 Jul 2013 10:48:25 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id A088113B4 for ; Tue, 2 Jul 2013 10:48:25 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id qd12so12112968ieb.30 for ; Tue, 02 Jul 2013 03:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=nHfAU7CZgMdu0eag0eRkICFi4wjUTX3tjQ8NMKOfGXI=; b=j7AbcLj8yvZG+AqF5iF0Rkql0bWEZgyV7/qscaUShCS+tsalYPFg/38jYL8aewECrO bSGAIJpOPvLcbJ3ROP625bNVBrISgf9sbVS7apMM4XRKqftMmesyqVxgMi/AFuLR0SYw Df5vwuQXoVp8RVbfIgTYHG27p+eGx66DfzZ6Alhc4Hvt7K8sfIKZlleuvu1ZREGOwJaZ HooXmvF1AnI1NT3srdQkfA87al7eKF/fxiNCAxt7IDP0g+2rKCoHltplUrRSjR82zigm A6qTqRzdoPXKlPdhwMuF5hfVg7VhD4/VexJjMX3oIXcBpSmMbiiyMB2sIlS+7B7docf+ Wk6Q== X-Received: by 10.50.41.34 with SMTP id c2mr19383496igl.57.1372762105312; Tue, 02 Jul 2013 03:48:25 -0700 (PDT) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.153.10 with HTTP; Tue, 2 Jul 2013 03:48:04 -0700 (PDT) In-Reply-To: References: <20130702084057.143d3eeb.freebsd@edvax.de> From: takCoder Date: Tue, 2 Jul 2013 15:18:04 +0430 X-Google-Sender-Auth: 1G9gN-Eis25lgGtZCdHxr15JkJE Message-ID: Subject: Re: any way to stop boot2 from waiting for keypress at system startup To: Polytropon , FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tak.official@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2013 10:48:25 -0000 i found the answer! if i add a "-n" parameter to /boot.config file, the mentioned feature will be disabled.. On Tue, Jul 2, 2013 at 11:16 AM, takCoder wrote: > Thank you for your quick reply. :) > > Unfortunately, no.. the option you are talking about is for limitting or > disabling beastie menu waiting time, and i am using the option you mention > as well.. > > I wait to disable a feature one step before that.. before even loading > kernel.. i just don't know what exactly its name is.. but it's just at the > beginning of boot2 procedure; it waits for 3 seconds for user input and if > you press any key, it shows you the prompt i mentioned and so on.. > if there is no key-press, the normal process will go on.. > > Best Regards, > t.a.k > > > On Tue, Jul 2, 2013 at 11:10 AM, Polytropon wrote: > >> 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, ... >> > >