diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-24 08:17:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-06-24 08:17:42 +0000 |
commit | 4314301581699eddbde71492da375f0cee70fcc4 (patch) | |
tree | 76a0c07fddb2dae817c7e55145287e0dc2de7631 /globetrotter/hwprofile | |
parent | f44ec9f5132a495bc5632532abf0892ccdba4ba8 (diff) | |
download | drakx-4314301581699eddbde71492da375f0cee70fcc4.tar drakx-4314301581699eddbde71492da375f0cee70fcc4.tar.gz drakx-4314301581699eddbde71492da375f0cee70fcc4.tar.bz2 drakx-4314301581699eddbde71492da375f0cee70fcc4.tar.xz drakx-4314301581699eddbde71492da375f0cee70fcc4.zip |
create hw profile after having run first time wizard so that if one refuse the
icense, he has to run it again
Diffstat (limited to 'globetrotter/hwprofile')
-rw-r--r-- | globetrotter/hwprofile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/globetrotter/hwprofile b/globetrotter/hwprofile index 32cb99efe..b22ff0c8b 100644 --- a/globetrotter/hwprofile +++ b/globetrotter/hwprofile @@ -28,7 +28,9 @@ use network::netconnect; my $id = "MDK" . md5_hex(join("", (map { (split)[1] } cat_("/proc/bus/pci/devices")))); my $netcnx = {}; -my $is_first_boot = !glob_("/etc/netprofile/profiles/MDK*"); + +# first boot wizard: +!glob_("/etc/netprofile/profiles/MDK*") and system('/usr/sbin/mdkmove'); # create hardware profile if needed: if (! -d "/etc/netprofile/profiles/$id") { @@ -40,8 +42,5 @@ if (! -d "/etc/netprofile/profiles/$id") { $netcnx->{PROFILE} = $id; eval { network::netconnect::set_profile($netcnx) }; -# first boot wizard: -$is_first_boot and system('/usr/sbin/mdkmove'); - # redo ldconfig cache for libGL (since we've both ATI and NVIDIA GLX packages): system("/sbin/ldconfig"); |