This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
# | |
# Downloads latest omada update package. | |
# First, ensure to check for updates from the UI so that the download URL | |
# is available in the database | |
# | |
URL=$(mongo omada --port 27217 --quiet --eval "print(db.systemsetting.findOne({}, { 'swc_firmware.fw_url': 1, _id: 0 }).swc_firmware.fw_url)") | |
curl -O "$URL" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
GITHUB_RUNNER_URL="https://github.com/actions/runner/releases/download/v2.311.0/actions-runner-linux-x64-2.311.0.tar.gz" | |
TEMPL_URL="http://download.proxmox.com/images/system/ubuntu-23.04-standard_23.04-1_amd64.tar.zst" | |
PCTSIZE="20G" | |
if [ -z "$GITHUB_TOKEN" ]; then | |
read -p "Enter github token: " GITHUB_TOKEN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am onaips on github. | |
* I am onaips (https://keybase.io/onaips) on keybase. | |
* I have a public key whose fingerprint is 4738 CF83 7868 7629 4C9C 2ACF F344 31C3 F774 5292 | |
To claim this, I am signing this object: |