summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.