From 5a782f6c8f7923f9f415afd504ce6e71acbc7fef Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 14 Jan 2013 01:48:19 +0100 Subject: temper: remove --- temper/Makefile | 20 -------------------- temper/collectd-temper.sh | 9 --------- 2 files changed, 29 deletions(-) delete mode 100644 temper/Makefile delete mode 100755 temper/collectd-temper.sh diff --git a/temper/Makefile b/temper/Makefile deleted file mode 100644 index 80c0206f..00000000 --- a/temper/Makefile +++ /dev/null @@ -1,20 +0,0 @@ - -all: infest -infest: temper rules-install -CFLAGS = -O2 -Wall - -temper: temper.c - ${CC} -DUNIT_TEST -o $@ $^ -lusb - chmod +s temper - cp -a temper /usr/bin -clean: - rm -f temper *.o - -rules-install: /etc/udev/rules.d/99-tempsensor.rules -/etc/udev/rules.d/99-tempsensor.rules: - cp 99-tempsensor.rules /etc/udev/rules.d -debian-prereq: - apt-get install libusb-dev -uninstall: - rm -f /etc/udev/rules.d/99-tempsensor.rules /usr/bin/temper - diff --git a/temper/collectd-temper.sh b/temper/collectd-temper.sh deleted file mode 100755 index f66e9acc..00000000 --- a/temper/collectd-temper.sh +++ /dev/null @@ -1,9 +0,0 @@ -HOSTNAME="${COLLECTD_HOSTNAME:-localhost}" -INTERVAL="${COLLECTD_INTERVAL:-30}" -TEMPERNAME="${TEMPERNAME:-external}" -TEMPERBIN="${TEMPERBIN:-/krebs/temper/temper}" -#while sleep "$INTERVAL"; do - VALUE=`$TEMPERBIN` - echo "PUTVAL \"$HOSTNAME/sensors-temper/temperature-$TEMPERNAME\" N:$VALUE" #interval=$INTERVAL - logger "PUTVAL \"$HOSTNAME/sensors-temper/temperature-$TEMPERNAME\" N:$VALUE" #interval=$INTERVAL -#done -- cgit v1.2.3