From 275d9398c4068117f17b5f25fce638990cdd4e87 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 2 Sep 2005 16:36:59 +0000 Subject: don't exec new binary on update --- perl-install/standalone/net_applet | 7 ------- 1 file changed, 7 deletions(-) diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index d0bfa77e8..939c697f7 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -127,7 +127,6 @@ $eventbox->signal_connect(button_press_event => sub { checkNetworkForce(); cronNetwork(); -cronUpdate(); get_unprocessed_attacks(); $SIG{HUP} = sub { @@ -227,12 +226,6 @@ sub cronNetwork() { 1; }); } -sub cronUpdate() { - my $current_md5 = common::md5file($0); - $update_timeout = Glib::Timeout->add(60000, sub { - common::md5file($0) ne $current_md5 and exec($0); - }); -} sub go2State { my ($state_type, $interface) = @_; if ($current_state ne $state_type || $current_interface ne $interface) { -- cgit v1.2.1