From owner-freebsd-questions@FreeBSD.ORG Tue Jul 2 06:47:14 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 72540502 for ; Tue, 2 Jul 2013 06:47:14 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 461BA198E for ; Tue, 2 Jul 2013 06:47:14 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so11578931iec.13 for ; Mon, 01 Jul 2013 23:47:14 -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:cc:content-type; bh=IQYfhyViaWjvWXbrxw4G/GBX72h0nR0KlJzfYAR8xCQ=; b=g1IUE8J4GQUTDEIuWjIEriUpL/8xsVEovD1Of75/TojuVGjzCj+/v6w/wgnO7rpCNM 0SIwudpbJ2KYw22mzz9e/wlmFK3HD7bnfTaJpB1h6+VDKXMh594nxri0eGKTW6ZcoU6I OPA5Y6Qio39WArZCw1uKFSWRBxOa/AxBCzyy4o5ZFBvVh+2DXNVQsO/yKsXxGUkuUEz0 KeQjg3JidQXhLEqyzKgOEgWgoXHOnYYK7DEZ5w1i1kr2qXezZRdN+YkNonXr4LWCZElP GOwimpj+htOEEFhvjGQ3WJ26Tmz5hJto0vldMOa2M2p7FtncRbo6neMUoip/oTk9GSh6 CPsw== X-Received: by 10.50.7.1 with SMTP id f1mr18527244iga.48.1372747634037; Mon, 01 Jul 2013 23:47:14 -0700 (PDT) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.153.10 with HTTP; Mon, 1 Jul 2013 23:46:53 -0700 (PDT) In-Reply-To: <20130702084057.143d3eeb.freebsd@edvax.de> References: <20130702084057.143d3eeb.freebsd@edvax.de> From: takCoder Date: Tue, 2 Jul 2013 11:16:53 +0430 X-Google-Sender-Auth: lu01yLpM4m6BxML7quUMdvrElHE Message-ID: Subject: Re: any way to stop boot2 from waiting for keypress at system startup To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions 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 06:47:14 -0000 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, ... >