diff options
author | makefu <github@syntax-fehler.de> | 2013-01-14 01:48:19 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-01-14 01:48:19 +0100 |
commit | 5a782f6c8f7923f9f415afd504ce6e71acbc7fef (patch) | |
tree | b184489a23d039484560d8b981d956e8b5407a1d | |
parent | 431afde0bfcbbccb4c7dad0cece3552384ba2862 (diff) |
temper: remove
-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 |