From owner-freebsd-stable Wed Jul 25 13:31: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtprelay2.adelphia.net (smtprelay2.adelphia.net [64.8.25.7]) by hub.freebsd.org (Postfix) with ESMTP id 4647F37B408 for ; Wed, 25 Jul 2001 13:30:59 -0700 (PDT) (envelope-from brade@adelphia.net) Received: from layla.ioplasm.local ([24.52.198.114]) by smtprelay2.adelphia.net (Netscape Messaging Server 4.15) with SMTP id GH1QCE02.LKS; Wed, 25 Jul 2001 16:31:26 -0400 Content-Type: text/plain; charset="us-ascii" From: Brad Ely To: Morten Vinding Nielsen , "'Derek C.'" Subject: Re: APM bug? Date: Wed, 25 Jul 2001 16:31:30 -0400 X-Mailer: KMail [version 1.2] References: <2D3005375CAED31199D00008C784963F02C0F448@ms02.mobilix.dk> In-Reply-To: <2D3005375CAED31199D00008C784963F02C0F448@ms02.mobilix.dk> Cc: freebsd-stable@FreeBSD.ORG MIME-Version: 1.0 Message-Id: <01072516313000.00481@layla.ioplasm.local> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday 24 July 2001 05:27, Morten Vinding Nielsen wrote: > Just remove the "disable", recompile and your kernel will have APM > support. > > Btw. is there another way of enabling a disabled device, than boot usin= g > boot -c and enable it from the bootup-config? > I was thinking of a boot-configuration file where it could be set, so > that we don't have to recompile the kernel to get APM or PCCARD support > for instance. > > /Morten The loader man page describes how to load a script (interactively). The script must contain lines exactly as typed in the command-line mode (CLI), so if you are familiar only with the full-screen mode you can type 'help' at the CLI prompt and investigate from there. Then... the loader.conf man page mentions a setting to load a userconfig script (automatically). I was forced to track this down when I had once saved an unwanted setting from an initial installation. ----[snip]----man loader EXAMPLES ... Loads kernel's user configuration file. Notice that a kernel must b= e loaded before any other load command is attempted. =20 load kernel load -t userconfig_script /boot/kernel.conf ... ----[snip]----man loader.conf DEFAULT SETTINGS ... userconfig_script_load (``NO'') If set to ``YES'', will load the userconfig data. ... ----[snip]----/boot/loader.conf userconfig_script_load=3D"YES" userconfig_script_name=3D"/boot/kernel.conf" userconfig_script_type=3D"userconfig_script" ----[snip]----/boot/kernel.conf enable apm0 Regards, Brad Ely To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message