#!/bin/bash # Observium Auto Update Script # Author: Adriaan Smuts echo -e "\e[31mUpdating Observium to latest version:\e[0m" echo # Observium install directory cd /opt/observium/ echo -e "\e[36mGetting the latest files from svn.observium.org:\e[0m" svn update echo echo -e "\e[36mUpdating the databse (if needed):\e[0m" # Update the database ./discovery.php -h none echo echo -e "\e[32mObservium has now been updated to the latest version.\e[0m"