hello

This is what I do to install the correct drivers:

1. try to find out which system it is
2. copy all the drivers for that system to hard drive
3. install them

we only have dell systems so it goes something like this

sub getcompunaam {
open("f","/usr/sbin/dmidecode|");
while(<f>) {
        chomp;
        if (/System Information/) {
                while(!/^Handle/) {
                        if (/Product Name: 
(dimension|optiplex|inspiron|latitude|precision 
workstation|satellite|vostro)\s+(\S*).*/i) {
                                my $produkt=$2;
                                print "$produkt\n";
                                sleep 3;
                                $produkt=~s/[ ]+//g;
                                chomp($produkt);
                                return lc($produkt);
                        }
                $_=<f>;
                }
    }
}
}

my $produkt=&getcompunaam();
$u->push_value ('Unattended', 'OemPnPDriversPathSpecific', $produkt ); # GX620 
e.d.
my $osmedia= $u->{'_meta'}->{'OS_media'};
$osmedia=~s/://g;
$osmedia=~s#\\#\/#g;
my $dir=lc("/z/");
my $dir2="drivers/$produkt";
opendir DIR,$dir.$dir2 or die "Unable to opendir $dir: $^E";

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to