misc.sh 452 B

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