#!/usr/bin/perl # Copyright (c) 2004 Mandrakesoft # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. use lib qw(/usr/lib/libDrakX); use common; use standalone; use Digest::MD5 qw(md5_hex); use network::network; # md5_hex call came from move::machine_ident() : my $id = "MDK" . md5_hex(join("", (map { (split)[1] } cat_("/proc/bus/pci/devices")))); my $net = {}; # first boot wizard: !glob_("/etc/netprofile/profiles/MDK*") and system('/usr/sbin/mdkmove'); # create hardware profile if needed: if (! -d "/etc/netprofile/profiles/$id") { network::network::netprofile_read($net); network::network::netprofile_add($net, $id); } # restore hardware profile: eval { network::network::netprofile_set($net, $id) }; # redo ldconfig cache for libGL (since we've both ATI and NVIDIA GLX packages): system("/sbin/ldconfig"); value='distro/mga2'>distro/mga2 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install
Commit message (Expand)AuthorAgeFilesLines
* - bootloader-config:Pascal Rigaux2007-05-152-2/+27
* use "mkfs.ext3" instead of "mkfs.ext2 -J"Pascal Rigaux2007-05-144-2/+9
* re-sync after the big svn lossPascal Rigaux2007-05-142-0/+0
* re-sync after the big svn lossPascal Rigaux2007-05-14142-0/+0
* - do not ask for updates at end of installation when updates are alreadyPascal Rigaux2007-05-092-0/+8
* - localedrake:Pascal Rigaux2007-05-092-1/+3
* upJosé Melo2007-05-071-56/+9
* upJosé Melo2007-05-071-92/+60
* upJosé Melo2007-05-071-41/+15
* create udev nodes configuration file in /etc/udev/devices.d/ instead of conf....Olivier Blin2007-04-302-3/+4
* do not try to configure dvd devices during install since /dev is wiped out at...Olivier Blin2007-04-304-17/+2
* use ->last_usable_sector instead of {totalsectors} so that resizing aPascal Rigaux2007-04-301-1/+1
* "Free space" is better than "Empty space"Pascal Rigaux2007-04-291-1/+1
* - allow umounting cdrom during a transactionPascal Rigaux2007-04-272-0/+2
* re-sync after the big svn lossPascal Rigaux2007-04-251-715/+100
* re-sync after the big svn lossPascal Rigaux2007-04-25