diff --git a/vendor/sunnyvalley/Makefile b/vendor/sunnyvalley/Makefile index c243deef0..494123197 100644 --- a/vendor/sunnyvalley/Makefile +++ b/vendor/sunnyvalley/Makefile @@ -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 diff --git a/vendor/sunnyvalley/src/opnsense/scripts/firmware/repos/SunnyValley.php b/vendor/sunnyvalley/src/opnsense/scripts/firmware/repos/SunnyValley.php index badc4f46b..30c902a56 100755 --- a/vendor/sunnyvalley/src/opnsense/scripts/firmware/repos/SunnyValley.php +++ b/vendor/sunnyvalley/src/opnsense/scripts/firmware/repos/SunnyValley.php @@ -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');