Initial version

Extracted from paultyng/terraform-provider-unifi@ef25893f14
This commit is contained in:
Paul Tyng
2020-01-10 14:31:12 -05:00
commit 435ecf9d6f
135 changed files with 6973 additions and 0 deletions

16
fields/getjson.sh Normal file
View File

@@ -0,0 +1,16 @@
#! /bin/bash
#! /bin/bash
deburl="https://dl.ui.com/unifi/5.12.35/unifi_sysvinit_all.deb"
wkdir="$(mktemp -d)"
deb="$wkdir\unifi.deb"
curl -o "$deb" "$deburl"
mkdir -p "$wkdir/unifi"
dpkg-deb -R "$deb" "$wkdir/unifi"
# cp "$wkdir/unifi/usr/lib/unifi/lib/ace.jar" ./
# TODO: extract the JSON field files