add ca service
This commit is contained in:
parent
ca5d4c4b72
commit
8bbf7d31a5
10 changed files with 87 additions and 3 deletions
4
bin/admin/certbot-cert
Normal file
4
bin/admin/certbot-cert
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#/usr/bin/env bash
|
||||
|
||||
certbot certonly --manual --preferred-challenges=dns -d "*.gurgul.org" -d "gurgul.org"
|
||||
|
||||
21
bin/admin/install-idf
Normal file
21
bin/admin/install-idf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
if [ -z "$SUDO_USER" ]; then
|
||||
echo "This script must be run within sudo."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# from says ~/esp
|
||||
ESP=/pkg/esp
|
||||
|
||||
apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
|
||||
|
||||
sudo -u "$SUDO_USER" bash <<EOF
|
||||
mkdir -p $ESP
|
||||
cd $ESP
|
||||
git clone -b v5.4.1 --recursive https://github.com/espressif/esp-idf.git
|
||||
|
||||
cd "$ESP/esp-idf"
|
||||
export IDF_TOOLS_PATH="$ESP/esp-idf/.espressif"
|
||||
./install.sh esp32,esp32c2,esp32c3,esp32c5,esp32c6,esp32c61,esp32h2,esp32p4,esp32s2,esp32s3
|
||||
|
||||
EOF
|
||||
|
||||
2
bin/admin/install-idf-enable
Normal file
2
bin/admin/install-idf-enable
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export IDF_TOOLS_PATH="/pkg/esp/esp-idf/.espressif"
|
||||
. /pkg/esp/esp-idf/export.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue