misc.sh 749 B

12345678910111213141516171819202122232425262728293031323334
  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 grep shadow coreutils certbot # 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. rc-service crond start && rc-update add crond
  22. git config --global core.safecrlf false
  23. echo -e "Misc done"