Action 1 (default)
Action Link Click
here to deploy the Tivoli Endpoint Manager Client 8.2.1310.0 upgrade.
Script Type
BigFix Action Script
prefetch BESClientUpgrade.rpm sha1:5edd59ab38d728f363b0cabdf61a39ddff03e795 size:6560720 http://software.bigfix.com/download/bes/82/BESAgent-8.2.1310.0-sle9.i586.rpm
delete "/var/tmp/BESClientUpgrade.rpm"
continue if {6560720 < free space of drive of folder "/var/tmp"}
move __Download/BESClientUpgrade.rpm "/var/tmp/BESClientUpgrade.rpm"
delete "{(client folder of current site as string) & "/__appendfile"}"
appendfile #!/bin/sh
if {exists file "/etc/init.d/besclient"}
appendfile /etc/init.d/besclient stop
else
appendfile /etc/init.d/BESClient-{version of client as string} stop
endif
appendfile /bin/rpm -U "/var/tmp/BESClientUpgrade.rpm"
appendfile /etc/init.d/besclient start
appendfile /bin/rm -f "/var/tmp/BESClientUpgrade.rpm"
delete /var/tmp/besclientupgrade
move "{(client folder of current site as string) & "/__appendfile"}" /var/tmp/besclientupgrade
wait chmod 555 /var/tmp/besclientupgrade
wait /var/tmp/besclientupgrade
Success Criteria
This action will be considered successful when the following relevance clause evaluates to false:
version of client < "8.2.1310.0"
version of client < "8.2.1310.0"