From 2d4549f32a853d7abdd5d203019765245ebdbb67 Mon Sep 17 00:00:00 2001 From: Philipp Riegger Date: Thu, 30 Oct 2014 11:03:17 +0100 Subject: [PATCH] Moved all Raspberry Pi plugins to a common raspberry-pi directory. Removed absolute path in raspi_temp to make the plugin work on Pidora. --- plugins/{rpi => raspberry-pi}/cpu_freq_1sec | 0 plugins/{raspberrypi => raspberry-pi}/raspi_temp | 2 +- plugins/{rpi => raspberry-pi}/rpi_temp | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename plugins/{rpi => raspberry-pi}/cpu_freq_1sec (100%) rename plugins/{raspberrypi => raspberry-pi}/raspi_temp (95%) rename plugins/{rpi => raspberry-pi}/rpi_temp (100%) diff --git a/plugins/rpi/cpu_freq_1sec b/plugins/raspberry-pi/cpu_freq_1sec similarity index 100% rename from plugins/rpi/cpu_freq_1sec rename to plugins/raspberry-pi/cpu_freq_1sec diff --git a/plugins/raspberrypi/raspi_temp b/plugins/raspberry-pi/raspi_temp similarity index 95% rename from plugins/raspberrypi/raspi_temp rename to plugins/raspberry-pi/raspi_temp index 41a4c0e0..eb4b5028 100755 --- a/plugins/raspberrypi/raspi_temp +++ b/plugins/raspberry-pi/raspi_temp @@ -48,4 +48,4 @@ EOM exit 0;; esac -echo "temp.value `/opt/vc/bin/vcgencmd measure_temp | sed -n "s/temp=\(.*\)'C/\1/p"`" +echo "temp.value `vcgencmd measure_temp | sed -n "s/temp=\(.*\)'C/\1/p"`" diff --git a/plugins/rpi/rpi_temp b/plugins/raspberry-pi/rpi_temp similarity index 100% rename from plugins/rpi/rpi_temp rename to plugins/raspberry-pi/rpi_temp