diff options
-rw-r--r-- | temper/Makefile | 20 | ||||
-rwxr-xr-x | temper/collectd-temper.sh | 9 |
2 files changed, 0 insertions, 29 deletions
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 |