misc.sh 631 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 update
  14. apk add procps vim curl tmux etckeeper htop lynx unzip # needrestart
  15. # sed -i "s/^# en_GB.UTF-8/en_GB.UTF-8/g" /etc/locale.gen
  16. # locale-gen
  17. apk add tzdata
  18. TIMEZONE="Europe/Paris"
  19. cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
  20. echo "${TIMEZONE}" > /etc/timezone
  21. echo -e "Misc done"