summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-10 17:19:51 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-10 17:19:51 +0000
commit7cad0d1d8ba5b05803097bb7dc46e3abeb6ef9b5 (patch)
tree257cfc8df5202b1058716ed4534da7ec4ab843fa /move/move.pm
parentf69856bc54b576ea65a0e7e57ef3ba8ee9c68f4d (diff)
downloaddrakx-7cad0d1d8ba5b05803097bb7dc46e3abeb6ef9b5.tar
drakx-7cad0d1d8ba5b05803097bb7dc46e3abeb6ef9b5.tar.gz
drakx-7cad0d1d8ba5b05803097bb7dc46e3abeb6ef9b5.tar.bz2
drakx-7cad0d1d8ba5b05803097bb7dc46e3abeb6ef9b5.tar.xz
drakx-7cad0d1d8ba5b05803097bb7dc46e3abeb6ef9b5.zip
configure automatically xfree in move
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm14
1 files changed, 14 insertions, 0 deletions
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;