1 |
vip-ire |
1.1 |
--- smeserver-affa-1.0.0/root/sbin/e-smith/affa.desktop 2008-05-27 14:03:17.000000000 +0200 |
2 |
|
|
+++ smeserver-affa-1.0.0/root/sbin/e-smith/affa 2008-05-27 14:08:38.000000000 +0200 |
3 |
|
|
@@ -797,12 +797,12 @@ |
4 |
|
|
if( $job{'remoteHostName'} eq 'localhost' ) |
5 |
|
|
{ |
6 |
|
|
lg( "signaling pre-backup event on localhost" ); |
7 |
|
|
- @cmd=('/sbin/e-smith/signal-event',"pre-backup"); |
8 |
|
|
+ @cmd=('/sbin/e-smith/signal-event',"pre-backup", "desktop"); |
9 |
|
|
} |
10 |
|
|
else |
11 |
|
|
{ |
12 |
|
|
lg( "signaling pre-backup event on ". $job{'remoteHostName'} ); |
13 |
|
|
- @cmd=('/usr/bin/ssh', '-o', "HostKeyAlias=$jobname", '-p', $job{'sshPort'}, $sshQuiet, $job{'remoteHostName'},"/sbin/e-smith/signal-event pre-backup"); |
14 |
|
|
+ @cmd=('/usr/bin/ssh', '-o', "HostKeyAlias=$jobname", '-p', $job{'sshPort'}, $sshQuiet, $job{'remoteHostName'},"/sbin/e-smith/signal-event pre-backup desktop"); |
15 |
|
|
} |
16 |
|
|
not ExecCmd( @cmd, 0 ) or affaErrorExit( "signaling pre-backup event failed." ); |
17 |
|
|
} |