vendor/sunnyvalley: fix typo

This commit is contained in:
Franco Fichtner 2024-01-16 15:35:57 +01:00
parent 3d4673df1f
commit 48cf401fa6
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
PLUGIN_NAME= sunnyvalley
PLUGIN_VERSION= 1.4
PLUGIN_REVISION= 1
PLUGIN_COMMENT= Vendor Repository for Zenarmor (a.k.a Sensei, Next Generation Firewall Extensions)
PLUGIN_MAINTAINER= opensource@sunnyvalley.io
PLUGIN_WWW= https://www.zenarmor.com

View file

@ -31,11 +31,11 @@ require_once 'util.inc';
$conf = '/usr/local/etc/pkg/repos/SunnyValley.conf';
if (!file_exists($conf . '.shadow')) {
if (!file_exists($conf . '.sample')) {
exit(0);
}
$fileContents = file_get_contents($conf . '.shadow');
$fileContents = file_get_contents($conf . '.sample');
if (file_exists('/usr/local/zenarmor/bin/eastpect')) {
$uuid = shell_safe('/usr/local/zenarmor/bin/eastpect -s');