From 8ca2917bf496b04ee10ae19888652e4a3098fe25 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 10 Sep 2004 06:57:01 +0000 Subject: autoconfigure mice on bootstrapping --- perl-install/harddrake/autoconf.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'perl-install/harddrake/autoconf.pm') diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm index 054d8879b..e2e48b27c 100644 --- a/perl-install/harddrake/autoconf.pm +++ b/perl-install/harddrake/autoconf.pm @@ -24,4 +24,12 @@ sub network_conf { network::network::easy_dhcp($obj->{modules_conf}, $obj->{netc}, $obj->{intf}) and $obj->{netcnx}{type} = 'lan'; } +sub mouse_conf { + my ($modules_conf) = @_; + log::explanations("Autoconfiguring mouse since we switched between 2.4.x and 2.6.x kernels"); + require do_pkgs; + require mouse; + mouse::write_conf(do_pkgs_standalone->new, $modules_conf, mouse::detect($modules_conf), 1); +} + 1; -- cgit v1.2.1