initial Commit

This commit is contained in:
root 2022-04-26 16:00:04 -07:00
parent 0e37b1bb91
commit 8984bb2651
4 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1 @@
2022.04.00

View File

@ -0,0 +1,19 @@
#!/usr/bin/env bash
# shellcheck disable=SC1091,2154
. /etc/rc.subr && load_rc_config
## TODO - Add someting useful to PLUGIN_INFO ----
## NOTE Try not to use more than 50 characters or
## the line will wrap. -- Leading white space and
## blank lines are not rendered in the TrueNAS UI
## ----------------------------------------------
cat << PLUGIN_INFO > /root/PLUGIN_INFO
Please see the wiki for more information
- plugin version: ${plugin_version}
PLUGIN_INFO
## ----------------------------------------------
exit

7
post_install.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
version="$(cat /root/.PLUGIN_VERSION)"
sysrc plugin_initialized="${version}"
sysrc plugin_version="${version}"

4
ui.json Normal file
View File

@ -0,0 +1,4 @@
{
"adminportal": "http://%%IP%%:8091",
"docurl": "https://git.rail-city.net/kenjreno/iocage-plugin-zigbee2mqtt/wiki"
}