From: janw Date: Tue, 11 Mar 2008 10:39:17 +0000 (+0000) Subject: Call fai-softupdate-notify if reachable. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3dceb0eb7d07a729d3d44c67b09840156e4aee04;p=gosa.git Call fai-softupdate-notify if reachable. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9666 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/client/events/gosaTriggered.pm b/gosa-si/client/events/gosaTriggered.pm index ec01c4467..796bf708f 100644 --- a/gosa-si/client/events/gosaTriggered.pm +++ b/gosa-si/client/events/gosaTriggered.pm @@ -245,6 +245,9 @@ sub trigger_action_instant_update { my $logged_in_user = 1; if( $logged_in_user ) { print STDERR "This system has been sent a signal for an update. The update will take place now.\n"; + if(stat('/usr/bin/fai-softupdate-notify')) { + system('/usr/bin/fai-softupdate-notify start'); + } } # not jet