package modules::parameters; # $Id$
use diagnostics;
use strict;
#-######################################################################################
#- misc imports
#-######################################################################################
use common;
use modules;
sub parameters {
my ($module) = @_;
if (!$::isStandalone && !$::testing) {
($module) = modules::extract_modules('/tmp', $module);
}
map {
chomp;
(my $name, $_) = /(\w+):(.*)/s or warn "modules::parameters::parameters($module): unknown line\n";
[ $name, $_ ];
} common::join_lines(run_program::get_stdout('modinfo', '-p', $module));
}
1;
pan='2'>
blob: fd43416a13a6351c7eb9a0c5e2660879d3c3a187 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/perl
use lib qw(/usr/lib/libDrakX);
use standalone;
use interactive;
use common;
$::isStandalone = 0;
my $in = 'interactive'->vnew;
my $driver = eval {
require Xconfig::xfree;
$raw_X = Xconfig::xfree->read;
$raw_X->get_Driver;
} || N("unknown");
$in->ask_warn(N("Warning"), N("The proprietary driver for your graphic card can not be found, the system is now using the free software driver (%s).", $driver));
unlink $0 if $0 =~ m!/etc/X11/xsetup.d/!;
|