From 48cf401fa6a558df830a0fdb723c2a0b0510f58f Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 16 Jan 2024 15:35:57 +0100 Subject: [PATCH] vendor/sunnyvalley: fix typo --- vendor/sunnyvalley/Makefile | 1 + .../src/opnsense/scripts/firmware/repos/SunnyValley.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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');