1234567891011121314151617181920 |
- #!/bin/sh
- # TODO check if root
- echo -e '\033[35m
- __ ______ __________ ___ ____ ______
- / / / / __ \/ ____/ __ \/ | / __ \/ ____/
- / / / / /_/ / / __/ /_/ / /| | / / / / __/
- / /_/ / ____/ /_/ / _, _/ ___ |/ /_/ / /___
- \____/_/ \____/_/ |_/_/ |_/_____/_____/
- \033[0m'
- if [ "$EUID" -ne 0 ]; then
- echo "Please run as root"
- exit
- fi
- apt-get update
- apt-get dist-upgrade
- needrestart -rl
|