From 70815fe23287d11c08ed2dcf8d37d8997e163276 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 18 Apr 2005 13:00:14 +0000 Subject: use better laptop detection now that dmidecode is used --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/modules.pm') 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'); -- cgit v1.2.1