2021-01-16 21:06:25 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-05-19 13:37:30 +00:00
|
|
|
printenv >>/etc/environment
|
|
|
|
ln -snf "/usr/share/zoneinfo/$TZ" /etc/localtime && echo "$TZ" >/etc/timezone
|
2021-01-16 21:06:25 +00:00
|
|
|
|
|
|
|
# Install speedtest-cli
|
2021-05-19 13:37:30 +00:00
|
|
|
if [ ! -e /usr/bin/speedtest ]; then
|
|
|
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
|
|
|
|
echo "deb https://ookla.bintray.com/debian buster main" | tee /etc/apt/sources.list.d/speedtest.list
|
|
|
|
apt-get update && apt-get -q -y install speedtest
|
|
|
|
apt-get -q -y autoremove && apt-get -q -y clean
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2021-01-20 23:53:13 +00:00
|
|
|
fi
|
2021-01-16 21:06:25 +00:00
|
|
|
|
2021-05-19 13:37:30 +00:00
|
|
|
exec /usr/local/bin/python3 "$@"
|