Linux BASH script to save uptime max.