2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 05:48:07 +00:00

Print the revision and date at start-up.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5325 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare 2008-09-09 07:26:51 +00:00
parent 7ca1c39b92
commit 0277bca881

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# #
# pwmconfig $Revision$ # pwmconfig
# Tests the pwm outputs of sensors and configures fancontrol # Tests the pwm outputs of sensors and configures fancontrol
# #
# Warning!!! This program will stop your fans, one at a time, # Warning!!! This program will stop your fans, one at a time,
@ -28,6 +28,8 @@
# #
# #
REVISION=$(echo '$Revision$' | cut -d' ' -f2)
REVDATE=$(echo '$Date$' | cut -d' ' -f2)
PIDFILE="/var/run/fancontrol.pid" PIDFILE="/var/run/fancontrol.pid"
if [ -f "$PIDFILE" ] if [ -f "$PIDFILE" ]
@ -39,6 +41,7 @@ then
exit 1 exit 1
fi fi
echo "# pwmconfig revision $REVISION ($REVDATE)"
echo 'This program will search your sensors for pulse width modulation (pwm)' echo 'This program will search your sensors for pulse width modulation (pwm)'
echo 'controls, and test each one to see if it controls a fan on' echo 'controls, and test each one to see if it controls a fan on'
echo 'your motherboard. Note that many motherboards do not have pwm' echo 'your motherboard. Note that many motherboards do not have pwm'