diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2004-02-04 16:10:51 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2004-02-04 16:10:51 +0000 |
commit | d6bf916d3a4183f44e93e7a2383216a0cfe51be1 (patch) | |
tree | 68c770f48bc8be8554dbebe443210c951590c967 | |
parent | 7b640adf291c14bafe8ad97fbd2b75ae6ae36df2 (diff) | |
download | drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar.gz drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar.bz2 drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar.xz drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.zip |
compact declaration
-rwxr-xr-x | perl-install/standalone/drakconnect | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index b0244fcdb..b26a622d4 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -185,15 +185,13 @@ ugtk2->exit(0); sub manage { my ($netc, $netcnx, $intf) = @_; - my $gui = {}; - my ($interface_menu, $selected); + my ($gui, $config) = ({}, {}); + my ($interface_menu, $selected, $apply_button); my $window = ugtk2->new('Manage Connection'); my $notebook = Gtk2::Notebook->new; $notebook->set_property('show-tabs', 0); $notebook->set_property('show-border', 0); - my $apply_button; - my $config = {}; eval(cat_('/etc/sysconfig/drakconnect')); @all_cards = network::ethernet::get_eth_cards(); |