From 90c537ce043ce1c7c5b697debe5840911eb6eb4a Mon Sep 17 00:00:00 2001 From: Meliox <5264368+Meliox@users.noreply.github.com> Date: Mon, 27 May 2024 21:55:38 +0200 Subject: [PATCH] Updated Home (markdown) --- Home.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Home.md b/Home.md index 1d7b16f..dcc8f52 100644 --- a/Home.md +++ b/Home.md @@ -6,15 +6,12 @@ Welcome to the PVE-mods wiki! In /usr/share/perl5/PVE/API2/Nodes.pm Replace -`$res->{sensorsOutput}` +$res->{sensorsOutput} with -` my $json_file_path = '/tmp/sensordata.json'; # Ensure this path is correct - # Read JSON data from the file open my $fh, '<', $json_file_path or die "Cannot open $json_file_path: $!"; my $json_text = do { local $/; <$fh> }; -close $fh; -` +close $fh; \ No newline at end of file