refactor: Update podkop package

* Removed direct package manager calls
* Removed commands related to optional luci package
* Added optional parameter for global_check for cases when function called by LuCI package
* Removed useless external calls in version check cases
* Improved build process support: version will be automatically set at installation time from package metadata and will be readable from script itself
This commit is contained in:
SaltyMonkey
2025-10-08 21:57:46 +03:00
parent b89fe33296
commit 6ff543d7fb
3 changed files with 11 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
# shellcheck disable=SC2034
PODKOP_VERSION="__COMPILED_VERSION_VARIABLE__"
## Common
PODKOP_CONFIG="/etc/config/podkop"
RESOLV_CONF="/etc/resolv.conf"