From 56d10513e72efcb0976988b18bca29b57ba162ad Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 15 Jun 2004 16:24:40 +0000 Subject: autoconf code for globetrotter and new harddrake service --- perl-install/harddrake/autoconf.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 perl-install/harddrake/autoconf.pm diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm new file mode 100644 index 000000000..985fecb4e --- /dev/null +++ b/perl-install/harddrake/autoconf.pm @@ -0,0 +1,27 @@ +package harddrake::autoconf; + +use common; +use any; + +sub xconf { + my ($o) = @_; + + log::l('automatic XFree configuration'); + + require Xconfig::default; + $o->{raw_X} = Xconfig::default::configure(keyboard::read()); + + require Xconfig::main; + require class_discard; + Xconfig::main::configure_everything_auto_install($o->{raw_X}, class_discard->new, {}, { allowFB => 1 }); + + modules::load_category('various/agpgart'); +} + +sub network_conf { + my ($o) = @_; + require network::network; + network::network::easy_dhcp($o->{netc}, $o->{intf}) and $o->{netcnx}{type} = 'lan'; +} + +1; -- cgit v1.2.1