SHARE
TWEET

Untitled

a guest Sep 6th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. # local configuration options
  4.  
  5. # Note: modify at your own risk!  If you do/use anything in this
  6. # script that is not part of a stable API (relying on files to be in
  7. # specific places, specific tools, specific output, etc) there is a
  8. # possibility you will end up with a broken system after patching or
  9. # upgrading.  Changes are not supported unless under direction of
  10. # VMware support.
  11.  
  12. # Note: This script will not be run when UEFI secure boot is enabled.
  13.  
  14. #StorCLI
  15. cat > /sbin/storcli << '__EOF'
  16. #!/bin/sh
  17. cd /opt/lsi/storcli
  18. ./storcli "$@"
  19. __EOF
  20.  
  21. chmod +x /sbin/storcli
  22.  
  23. #VERTICALBACKUP
  24. /bin/kill $(cat /var/run/crond.pid)
  25. /bin/echo '#VERTICALBACKUP' >> /var/spool/cron/crontabs/root
  26. /bin/echo '45 22 * * * /vmfs/volumes/59b6857d-ebfb160a-9d0e-08606e44d533/verticalbackup/vertical backup --email --subject "[Success] VM Backup (HOSTNAME)" --failure-subject "[Failed] VM Backup (HOSTNAME)" > /dev/null' >> /var/spool/cron/crontabs/root
  27. /usr/lib/vmware/busybox/bin/busybox crond
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top