initial Commit
This commit is contained in:
parent
0e37b1bb91
commit
8984bb2651
|
@ -0,0 +1 @@
|
|||
2022.04.00
|
|
@ -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
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
version="$(cat /root/.PLUGIN_VERSION)"
|
||||
sysrc plugin_initialized="${version}"
|
||||
sysrc plugin_version="${version}"
|
||||
|
||||
|
Loading…
Reference in New Issue