diff options
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 = ( |