Skip to content

Commit

Permalink
fix additional conf in Telegraf
Browse files Browse the repository at this point in the history
  • Loading branch information
vktg committed Dec 31, 2019
1 parent 796b3fe commit 284136b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions net-mgmt/pfSense-pkg-Telegraf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

PORTNAME= pfSense-pkg-Telegraf
PORTVERSION= 0.9
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,8 @@ EOD;

/* Raw additional configuration options */
if ($telegraf_conf["telegraf_raw_config"]) {
#$telegraf_conf["telegraf_raw_config"] = $_POST["telegraf_raw_config"];
$cfg .= "\n# Additional Raw Options\n";
$cfg .= $_POST["telegraf_raw_config"];
$cfg .= base64_decode($telegraf_conf["telegraf_raw_config"]);
$cfg .= "\n";
}

Expand Down

0 comments on commit 284136b

Please sign in to comment.