Date: Wed, 25 Jul 2001 16:31:30 -0400 From: Brad Ely <brade@adelphia.net> To: Morten Vinding Nielsen <MVN@orangedk.com>, "'Derek C.'" <coffee@blarg.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: APM bug? Message-ID: <01072516313000.00481@layla.ioplasm.local> In-Reply-To: <2D3005375CAED31199D00008C784963F02C0F448@ms02.mobilix.dk> References: <2D3005375CAED31199D00008C784963F02C0F448@ms02.mobilix.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 using
> 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 be
loaded before any other load command is attempted.
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="YES"
userconfig_script_name="/boot/kernel.conf"
userconfig_script_type="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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01072516313000.00481>
