From accc9c301bf07a20cb283b4994c57243fbfa7c17 Mon Sep 17 00:00:00 2001 From: ms Date: Sat, 3 Nov 2007 15:01:57 +0000 Subject: [PATCH] Let the script load the other acpi modules, too. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1050 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- doc/packages-list.txt | 1 - src/initscripts/sysconfig/modules | 13 ++++++++++++- src/pakfire/pakfire | 5 +++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 418d3f7a2..8b3be32ff 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -143,7 +143,6 @@ * libwww-perl-5.803 * libxml2-2.6.26 * libxslt-1.1.17 -* linux-2.6.16.55 * linux-2.6.16.56 * linux-atm-2.4.1 * linux-libc-headers-2.6.12.0 diff --git a/src/initscripts/sysconfig/modules b/src/initscripts/sysconfig/modules index ec940c1e6..66d134e5f 100644 --- a/src/initscripts/sysconfig/modules +++ b/src/initscripts/sysconfig/modules @@ -15,8 +15,19 @@ # a space or a tab. ######################################################################## +### ACPI +# +ac +battery +button +fan +processor +thermal +video + +### parport +# parport_pc lp -button # End /etc/sysconfig/modules diff --git a/src/pakfire/pakfire b/src/pakfire/pakfire index 1c4a2f67d..a9981fd83 100644 --- a/src/pakfire/pakfire +++ b/src/pakfire/pakfire @@ -19,6 +19,11 @@ # # ############################################################################### + ### Clean up our environment + # + delete @ENV{qw(IFS CDPATH ENV BASH_ENV PATH)}; + $< = $>; + require "/opt/pakfire/lib/functions.pl"; my $interactive = 1; -- 2.39.2