misc.sh 482 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. echo -e '\033[35m
  3. __ ____
  4. / |/ (_)_________
  5. / /|_/ / / ___/ ___/
  6. / / / / (__ ) /__
  7. /_/ /_/_/____/\___/
  8. \033[0m'
  9. if [ "$EUID" -ne 0 ]; then
  10. echo "Please run as root"
  11. exit
  12. fi
  13. sleep 2
  14. apt-get --yes --force-yes install vim curl
  15. sed -i "s/^# en_GB.UTF-8/en_GB.UTF-8/g" /etc/locale.gen
  16. locale-gen
  17. apt-get --yes --force-yes install ntp
  18. dpkg-reconfigure tzdata
  19. apt-get --yes --force-yes install etckeeper needrestart
  20. echo -e "\033[92;1mMisc done \033[Om"