summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-14 19:08:40 +0100
committerRomain Gonçalves <me@rgoncalves.se>2021-12-14 19:08:40 +0100
commit7b28b5dd9df08ec235043728647cae172c961dbe (patch)
tree55a403655296b43fab8d893fc7bd141a2f9c061a
parent29cb7a825221d7148fef74ac330f0b4c379471e7 (diff)
downloadscripts-trunk.tar.gz
ipmi: Remove external logging scriptHEADtrunk
-rwxr-xr-xipmi-fan1
-rw-r--r--ipmi.sh4
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,
remember that computers suck.