summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-20 07:49:02 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-20 07:49:02 +0000
commit24fac7fde4a1e562c59d0836768f18c4a48cfe7d (patch)
tree5312e76308d3804b045f45f2227a005be2e6c465
parent90e6512a409293af26ab61ca205b98de7c6bc6e5 (diff)
downloaddrakx-backup-do-not-use-24fac7fde4a1e562c59d0836768f18c4a48cfe7d.tar
drakx-backup-do-not-use-24fac7fde4a1e562c59d0836768f18c4a48cfe7d.tar.gz
drakx-backup-do-not-use-24fac7fde4a1e562c59d0836768f18c4a48cfe7d.tar.bz2
drakx-backup-do-not-use-24fac7fde4a1e562c59d0836768f18c4a48cfe7d.tar.xz
drakx-backup-do-not-use-24fac7fde4a1e562c59d0836768f18c4a48cfe7d.zip
remove unused code (thus fixing a crash)
-rw-r--r--perl-install/standalone/drakvpn14
1 files changed, 0 insertions, 14 deletions
diff --git a/perl-install/standalone/drakvpn b/perl-install/standalone/drakvpn
index 351ab9938..79db68293 100644
--- a/perl-install/standalone/drakvpn
+++ b/perl-install/standalone/drakvpn
@@ -207,20 +207,6 @@ step_detectsetup:
my %aliased_devices;
/^\s*alias\s+(eth[0-9])\s+(\S+)/ and $aliased_devices{$1} = $2 foreach cat_("/etc/modules.conf");
-my $card_netconnect = network::shorewall::get_net_device() || "eth0";
-defined $card_netconnect and log::l("[drakvpn] Information from netconnect: ignore card $card_netconnect");
-
- $in->ask_from('',
- N("Please enter the name of the interface connected to the internet.
-
-Examples:
- ppp+ for modem or DSL connections,
- eth0, or eth1 for cable connection,
- ippp+ for a isdn connection.
-"),
- [ { label => N("Net Device"), val => \$card_netconnect, list => [ detect_devices::getNet() ], not_edit => 0 } ])
- or goto step_ask_confirm;
-
#- **********************************
#- * 2nd step: configure