diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-09-09 16:40:08 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-09-09 16:40:08 +0000 |
commit | f24dc864e3552d3197104e5adc71d51f7eb14d8a (patch) | |
tree | 11b8a5a7c70df5830ee5ae659f41a23319048b2e /drakwizard.pl | |
parent | 1ff0fe7cdc8d3ee43cf5d3b5aab88795d10d7fce (diff) | |
download | drakwizard-f24dc864e3552d3197104e5adc71d51f7eb14d8a.tar drakwizard-f24dc864e3552d3197104e5adc71d51f7eb14d8a.tar.gz drakwizard-f24dc864e3552d3197104e5adc71d51f7eb14d8a.tar.bz2 drakwizard-f24dc864e3552d3197104e5adc71d51f7eb14d8a.tar.xz drakwizard-f24dc864e3552d3197104e5adc71d51f7eb14d8a.zip |
test draknet_conf
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-x | drakwizard.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drakwizard.pl b/drakwizard.pl index 7d7914c4..67cc9c5b 100755 --- a/drakwizard.pl +++ b/drakwizard.pl @@ -42,6 +42,12 @@ $::Wizard_title = "Drakwizard"; $::isWizard = 1; my $standalone = 1; +! -r '/etc/sysconfig/network-scripts/drakconnect_conf' && + ( -r '/etc/sysconfig/network-scripts/draknet_conf' || + die "no drakconnect conf file found, install drakconnect and try again") && + MDK::Common::cp_af('/etc/sysconfig/network-scripts/draknet_conf', + '/etc/sysconfig/network-scripts/drakconnect_conf'); + if (!defined($ARGV[0])) { my $prefix = "/usr/share/wizards/"; my %wiz = ( |