aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-22 21:34:29 +0000
committerBill Nottingham <notting@redhat.com>2003-09-22 21:34:29 +0000
commit28a694fae793e37ec0613d817ea660878bb35684 (patch)
tree402bfcfe0b3e9bd2d91604c362a58ca347696e16
parente0e30258830eeea51379fc511508d4ff1e6da705 (diff)
downloadinitscripts-28a694fae793e37ec0613d817ea660878bb35684.tar
initscripts-28a694fae793e37ec0613d817ea660878bb35684.tar.gz
initscripts-28a694fae793e37ec0613d817ea660878bb35684.tar.bz2
initscripts-28a694fae793e37ec0613d817ea660878bb35684.tar.xz
initscripts-28a694fae793e37ec0613d817ea660878bb35684.zip
load acpi modules on startup
-rwxr-xr-xrc.d/rc.sysinit7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 0ec7a753..788bfdc5 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -167,6 +167,13 @@ action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
# Only read this once.
cmdline=$(cat /proc/cmdline)
+# Initialiaze ACPI bits
+if [ -d /proc/acpi ]; then
+ for module in /lib/modules/`uname -r`/kernel/drivers/acpi/* ; do
+ insmod $module
+ done
+fi
+
# Initialize USB controller and HID devices
update_boot_stage RCusb
usb=0