diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-10 06:57:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-10 06:57:01 +0000 |
commit | 8ca2917bf496b04ee10ae19888652e4a3098fe25 (patch) | |
tree | ca84e86ad66af84f26901ff1116c3dba39ec7c12 /perl-install/harddrake/autoconf.pm | |
parent | 3a113f64e78637a847f9f4c98ac82824c444b138 (diff) | |
download | drakx-8ca2917bf496b04ee10ae19888652e4a3098fe25.tar drakx-8ca2917bf496b04ee10ae19888652e4a3098fe25.tar.gz drakx-8ca2917bf496b04ee10ae19888652e4a3098fe25.tar.bz2 drakx-8ca2917bf496b04ee10ae19888652e4a3098fe25.tar.xz drakx-8ca2917bf496b04ee10ae19888652e4a3098fe25.zip |
autoconfigure mice on bootstrapping
Diffstat (limited to 'perl-install/harddrake/autoconf.pm')
-rw-r--r-- | perl-install/harddrake/autoconf.pm | 8 |
1 files changed, 8 insertions, 0 deletions
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; |