mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-03 22:08:11 -04:00
vendor/sunnyvalley: fix typo
This commit is contained in:
parent
3d4673df1f
commit
48cf401fa6
2 changed files with 3 additions and 2 deletions
1
vendor/sunnyvalley/Makefile
vendored
1
vendor/sunnyvalley/Makefile
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue