summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/drakroam6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/drakroam b/bin/drakroam
index afea8df..fdec710 100755
--- a/bin/drakroam
+++ b/bin/drakroam
@@ -38,6 +38,9 @@ my $w = ugtk2->new($title);
$::main_window = $w->{real_window};
my $in = 'interactive'->vnew('su');
+my $net = {};
+network::network::read_net_conf($net);
+
sub update_connections_list() {
$droam->{gui}{model}->set($droam->{gui}{model}->append, 0, $droam->{gui}{empty_pixbuf} , 1, N("No device found")) unless @{$droam->{all_connections}};
$droam->{gui}{model}->set($droam->{gui}{model}->append,
@@ -92,9 +95,6 @@ sub update_on_connection_change() {
update_networks();
}
-my $net = {};
-network::network::read_net_conf($net);
-
sub get_network_event_message {
my ($member, @args) = @_;
#- FIXME: the hostname.d script and s2u use a different D-Bus interface