Code

Call fai-softupdate-notify if reachable.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:39:17 +0000 (10:39 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:39:17 +0000 (10:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9666 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/client/events/gosaTriggered.pm

index ec01c4467d1008eb2bfbfa035496d1b323c7807f..796bf708f1396dc1bbdcad280d40d66b7e2613b4 100644 (file)
@@ -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