From 9b6a0d83d135fad376b4eadcb2bd7bd8c8a07aa5 Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Thu, 20 Oct 2005 14:05:54 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'V10_34_11_100mdk'. --- perl-install/harddrake/autoconf.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 perl-install/harddrake/autoconf.pm (limited to '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