diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 15:51:32 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 15:51:32 +0000 |
commit | 6287e4f11e89abf82d31cfbd92ca79a315157a53 (patch) | |
tree | 53fa5626e46594f274d9809a7c325c1521a71d02 | |
parent | c07111e6d9a84aff33831380a6be8ffebd0a5588 (diff) | |
download | drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar.gz drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar.bz2 drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.tar.xz drakx-6287e4f11e89abf82d31cfbd92ca79a315157a53.zip |
(del_intf) when no network configuration is configured, just report it
-rwxr-xr-x | perl-install/standalone/drakconnect | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index c1ee41144..2aadfed92 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -601,6 +601,10 @@ sub add_intf() { sub del_intf() { my ($intf2delete, $faillure); + if (!keys %$intf) { + $in->ask_warn(N("Error"), N("No ethernet network adapter has been detected on your system. Please run the hardware configuration tool.")); + $in->exit(0); + } my $wiz = { defaultimage => "drakconnect.png", |