From 20433aa2be00516da98fb9352fd4b5363e0becaf Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 9 Aug 2017 12:21:26 +0200 Subject: [PATCH] devel/helloworld: fix for #53 (cherry picked from commit b138f2e96051cdd14a80831ea3fd5633fb1f3296) --- devel/helloworld/Makefile | 2 +- .../service/templates/OPNsense/HelloWorld/helloworld.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/helloworld/Makefile b/devel/helloworld/Makefile index a7bbab857..9347f59dc 100644 --- a/devel/helloworld/Makefile +++ b/devel/helloworld/Makefile @@ -1,5 +1,5 @@ PLUGIN_NAME= helloworld -PLUGIN_VERSION= 1.1 +PLUGIN_VERSION= 1.2 PLUGIN_COMMENT= A sample framework application PLUGIN_MAINTAINER= ad@opnsense.org diff --git a/devel/helloworld/src/opnsense/service/templates/OPNsense/HelloWorld/helloworld.conf b/devel/helloworld/src/opnsense/service/templates/OPNsense/HelloWorld/helloworld.conf index e24d4ef3c..7ccefce07 100644 --- a/devel/helloworld/src/opnsense/service/templates/OPNsense/HelloWorld/helloworld.conf +++ b/devel/helloworld/src/opnsense/service/templates/OPNsense/HelloWorld/helloworld.conf @@ -1,4 +1,4 @@ -{% if true or helpers.exists('OPNsense.helloworld.general') and OPNsense.helloworld.general.Enabled|default("0") == "1" %} +{% if helpers.exists('OPNsense.helloworld.general') and OPNsense.helloworld.general.Enabled|default("0") == "1" %} [general] SMTPHost={{ OPNsense.helloworld.general.SMTPHost|default("") }} FromEmail={{ OPNsense.helloworld.general.FromEmail|default("") }}