From 3dceb0eb7d07a729d3d44c67b09840156e4aee04 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 11 Mar 2008 10:39:17 +0000 Subject: [PATCH] Call fai-softupdate-notify if reachable. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9666 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/client/events/gosaTriggered.pm | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2