From adcd5def319a732bef932d5942a76884821e3d65 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 28 Sep 2008 16:44:36 +0000 Subject: [PATCH] Delete maxilife scripts. The maxilife driver was not ported to Linux 2.6 and probably never will. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5350 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 3 +++ doc/progs | 6 ------ prog/maxilife/sysinfo.sh | 26 -------------------------- prog/maxilife/writelcd.sh | 26 -------------------------- 4 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 prog/maxilife/sysinfo.sh delete mode 100644 prog/maxilife/writelcd.sh diff --git a/CHANGES b/CHANGES index 8d26968f..642768e1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ lm-sensors CHANGES file ----------------------- +SVN-HEAD + maxilife scripts: Delete (driver never ported to Linux 2.6) + 3.0.3 (2008-09-28) libsensors: Avoid namespace pollution fancontrol: Don't use named pipes when we don't need them (#2319) diff --git a/doc/progs b/doc/progs index af7abfe6..6560c3f2 100644 --- a/doc/progs +++ b/doc/progs @@ -34,12 +34,6 @@ see http://www.lm-sensors.org/wiki/UsefulLinks. A SysV init script to be installed in /etc/rc.d/init.d/ It inserts the bus and chip modules and starts the sensord daemon. -* prog/maxilife/sysinfo.sh (written in shell, not installed) - Write system information to the HP Maxilife LCD display using writelcd.sh. - -* prog/maxilife/writelcd.sh (written in shell, not installed) - Write a string to the HP Maxilife LCD display. - * prog/pwm/pwmconfig (shell script, installed by 'make install') Formerly pwmtest, tests the pwm (pulse width modulation) outputs of sensors for their effect on the fans and helps to setup the configfile for fancontrol. diff --git a/prog/maxilife/sysinfo.sh b/prog/maxilife/sysinfo.sh deleted file mode 100644 index 237dd4bd..00000000 --- a/prog/maxilife/sysinfo.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/sh - -lnxvers="`uname -s` `uname -r`" -#host="`hostname -s`" -host="`hostname`" -blink="o" - -writelcd=/home/rdm/src/lm_sensors-2.5.0/prog/maxilife/writelcd.sh - -$writelcd "$host" 3 - -i=0 -while true; do - $writelcd "$lnxvers $blink" 2 - if [ $[i == 5] = 1 ]; then - $writelcd "`awk '{ printf("%s %s %s", $1, $2, $3) }' < /proc/loadavg`" 4 - i=0 - fi - if [ $blink = "o" ]; then - blink=O - else - blink=o - fi - sleep 1 - i=$[i+1] -done diff --git a/prog/maxilife/writelcd.sh b/prog/maxilife/writelcd.sh deleted file mode 100644 index ccef350d..00000000 --- a/prog/maxilife/writelcd.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/sh - -usage() { - echo "usage: $0 " - echo " must be <= 16 characters" - echo " lcd line number, between 1..4" -} - -if [ $# != 2 ]; then - usage - exit 1 -fi - -str=$1 -line=$2 - -if [ $[line < 1 || line > 4] = 1 ]; then - usage - exit 1 -fi - -sysctl=/proc/sys/dev/sensors/maxilife-nba-i2c-0-14/lcd - -printf "%-16.16s" "$str" | od -A n -l > $sysctl$line - -exit 0