blob: 985fecb4e5237e4b32ea6cca75b7e070a42a1d09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
|