From 7b28b5dd9df08ec235043728647cae172c961dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 14 Dec 2021 19:08:40 +0100 Subject: ipmi: Remove external logging script --- ipmi-fan | 1 - ipmi.sh | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ipmi-fan b/ipmi-fan index 8fb5dbc..f488179 100755 --- a/ipmi-fan +++ b/ipmi-fan @@ -16,7 +16,6 @@ # ~ rgoncalves.se . ./ipmi.sh -. ./log.sh usage() { cat <<-EOF diff --git a/ipmi.sh b/ipmi.sh index e029784..889efe5 100644 --- a/ipmi.sh +++ b/ipmi.sh @@ -14,7 +14,9 @@ # # ~ rgoncalves.se -. ./log.sh +log() { + echo "[${0}] $@" +} # load ipmi environment variables # cross-referenced in next functions, -- cgit v1.2.3