summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-02 16:36:59 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-02 16:36:59 +0000
commit275d9398c4068117f17b5f25fce638990cdd4e87 (patch)
tree0b2f8f624d3fe4da3e466109711e57bb88fdfa7a /perl-install/standalone/net_applet
parent3392aa72955ac8065412614dc6e2fa7aa337c790 (diff)
downloaddrakx-275d9398c4068117f17b5f25fce638990cdd4e87.tar
drakx-275d9398c4068117f17b5f25fce638990cdd4e87.tar.gz
drakx-275d9398c4068117f17b5f25fce638990cdd4e87.tar.bz2
drakx-275d9398c4068117f17b5f25fce638990cdd4e87.tar.xz
drakx-275d9398c4068117f17b5f25fce638990cdd4e87.zip
don't exec new binary on update
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet7
1 files changed, 0 insertions, 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) {