Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts.d/16_pkg_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ INSTALL_PACKAGES=(
htop
speedtest-cli # speedtest.net
libffi-dev # for building docker-compose using pip
libconfig9 libssl1.0.2 # for running telegram-cli
python3-coral-enviro # Coral environmental board
bc # for memory command
libusb-dev # for usb.sh
Expand Down
6 changes: 6 additions & 0 deletions scripts.d/20_telegram_cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /bin/bash

wget -P mnt/img_root/usr/local/bin https://github.com/darthnoward/tg/releases/download/1.4.1/telegram-cli || exit 1
chmod +x mnt/img_root/usr/local/bin/telegram-cli
mkdir -p mnt/img_root/etc/telegram-cli
wget -P mnt/img_root/etc/telegram-cli https://github.com/vysheng/tg/raw/master/tg-server.pub || exit 1