summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs
diff options
context:
space:
mode:
Diffstat (limited to 'initrd/distro-specs')
-rw-r--r--initrd/distro-specs/suse-10.0/functions-suse-10.012
1 files changed, 11 insertions, 1 deletions
diff --git a/initrd/distro-specs/suse-10.0/functions-suse-10.0 b/initrd/distro-specs/suse-10.0/functions-suse-10.0
index 475a8b94..ef867be6 100644
--- a/initrd/distro-specs/suse-10.0/functions-suse-10.0
+++ b/initrd/distro-specs/suse-10.0/functions-suse-10.0
@@ -2,7 +2,7 @@
# linux diskless clients (executed within initial
# ramdisk after genconfig)
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 08-01-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 17-01-2006
# Blabla
# Blub
#
@@ -163,3 +163,13 @@ consolefont () {
echo -e "setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1" \
>>/mnt/etc/${INITDIR}/boot.ld
}
+
+# acpi and powersave
+config_acpi () {
+local start_acpi=$1
+local stop_acpi=$2
+local start_powersave=`expr $1 + 5`
+local stop_powersave=`expr $1 - 1`
+rllinker acpid "$start_acpi" "$stop_acpi"
+rllinker powersaved "$start_powersave" "$stop_powersave"
+}