diff options
-rw-r--r-- | move/move.pm | 14 |
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; |