misc.sh 703 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/sh
  2. echo -e '
  3. __ __ _
  4. | \/ (_)___ __
  5. | |\/| | (_-</ _|
  6. |_| |_|_/__/\__|
  7. '
  8. . bin/checkroot.sh
  9. sleep 2
  10. echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main
  11. @edgecommunity http://dl-cdn.alpinelinux.org/alpine/edge/community
  12. @testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories
  13. apk add vim curl
  14. # sed -i "s/^# en_GB.UTF-8/en_GB.UTF-8/g" /etc/locale.gen
  15. # locale-gen
  16. # apt-get --yes --force-yes install ntp
  17. # dpkg-reconfigure tzdata
  18. apk add tmux etckeeper htop lynx unzip # needrestart
  19. apk add tzdata
  20. TIMEZONE="Europe/Paris"
  21. cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
  22. echo "${TIMEZONE}" > /etc/timezone
  23. echo -e "\033[92;1mMisc done \033[Om"