diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-18 13:00:14 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-18 13:00:14 +0000 |
commit | 70815fe23287d11c08ed2dcf8d37d8997e163276 (patch) | |
tree | c6f4fbafe055b992a72c1da628f213492dfba939 | |
parent | 977829532e0414a0ddde1cf10a394f97ddc7dcf6 (diff) | |
download | drakx-70815fe23287d11c08ed2dcf8d37d8997e163276.tar drakx-70815fe23287d11c08ed2dcf8d37d8997e163276.tar.gz drakx-70815fe23287d11c08ed2dcf8d37d8997e163276.tar.bz2 drakx-70815fe23287d11c08ed2dcf8d37d8997e163276.tar.xz drakx-70815fe23287d11c08ed2dcf8d37d8997e163276.zip |
use better laptop detection now that dmidecode is used
-rw-r--r-- | perl-install/modules.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 8df2dd09f..99c27258b 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -191,7 +191,7 @@ sub write_preload_conf { push @l, intersection([ list_modules::category2modules('multimedia/dvb'), list_modules::category2modules('multimedia/tv') ], [ map { $_->{driver} } detect_devices::probeall() ]); push @l, map { if_($_->{driver} =~ /^Module:(.*)/, $1) } detect_devices::probeall(); - push @l, 'nvram' if cat_('/proc/bus/input/devices') =~ m!^N: Name="SynPS/2 Synaptics TouchPad"$!m; + push @l, 'nvram' if detect_devices::isLaptop(); push @l, map { $_->{driver} } probe_category('various/laptop'); push @l, map { $_->{driver} } probe_category('multimedia/joystick'); push @l, map { $_->{driver} } probe_category('various/crypto'); |