diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-02 16:36:59 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-02 16:36:59 +0000 |
commit | 275d9398c4068117f17b5f25fce638990cdd4e87 (patch) | |
tree | 0b2f8f624d3fe4da3e466109711e57bb88fdfa7a /perl-install | |
parent | 3392aa72955ac8065412614dc6e2fa7aa337c790 (diff) | |
download | drakx-backup-do-not-use-275d9398c4068117f17b5f25fce638990cdd4e87.tar drakx-backup-do-not-use-275d9398c4068117f17b5f25fce638990cdd4e87.tar.gz drakx-backup-do-not-use-275d9398c4068117f17b5f25fce638990cdd4e87.tar.bz2 drakx-backup-do-not-use-275d9398c4068117f17b5f25fce638990cdd4e87.tar.xz drakx-backup-do-not-use-275d9398c4068117f17b5f25fce638990cdd4e87.zip |
don't exec new binary on update
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/standalone/net_applet | 7 |
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) { |