From 7cad0d1d8ba5b05803097bb7dc46e3abeb6ef9b5 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 10 Oct 2003 17:19:51 +0000 Subject: configure automatically xfree in move --- move/move.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index d850543c7..9ec8eb302 100644 --- a/move/move.pm +++ b/move/move.pm @@ -6,6 +6,7 @@ use strict; use common; use fs; use run_program; +use log; #- run very soon at stage2 start, setup things on tmpfs rw / that @@ -31,4 +32,17 @@ sub init { } +sub automatic_xconf { + my ($o) = @_; + log::l('automatic XFree configuration'); + + require Xconfig::default; + $o->{raw_X} = Xconfig::default::configure({ KEYBOARD => 'us' }, $o->{mouse}); + + require Xconfig::main; + require class_discard; + Xconfig::main::configure_everything_auto_install($o->{raw_X}, class_discard->new, {}, { allowNVIDIA_rpms => 1 }); +} + + 1; -- cgit v1.2.1