1.3.4.sh 933 B

1234567891011121314151617
  1. #!/bin/bash
  2. # Hestia Control Panel upgrade script for target version 1.3.4
  3. #######################################################################################
  4. ####### Place additional commands below. #######
  5. #######################################################################################
  6. echo '[ * ] Updating System Administrator account permissions...'
  7. $HESTIA/bin/v-change-user-role admin admin
  8. # Send end-of-life notification to admin user on servers running Ubuntu 16.04
  9. if [ "$OS_TYPE" = "Ubuntu" ]; then
  10. if [ "$OS_VERSION" = '16.04' ]; then
  11. $HESTIA/bin/v-add-user-notification admin 'IMPORTANT: End of support for Ubuntu 16.04 LTS' '<b>Hestia Control Panel no longer supports Ubuntu 16.04 LTS</b>, as a result your server will no longer receive upgrades or security patches after <b>v1.3.4</b>.<br><br>Please upgrade to a supported operating system.'
  12. fi
  13. fi