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:a5643e112ef4e8318c2adad25fa4fffba19e31e4 size:6192594 http://software.bigfix.com/download/bes/82/BESAgent-8.2.1310.0-sle10.i586.rpm
delete "/var/tmp/BESClientUpgrade.rpm"
continue if {6192594 < 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"