Files
alpine-web-werver/bin/misc.sh
T
2019-04-17 14:23:35 +02:00

31 lines
703 B
Bash
Executable File

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