Follow new sysfs naming scheme.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2514 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-05-08 19:38:20 +00:00
1 parent 7f22c17c1b
commit 12e4bc4853
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -119,7 +119,7 @@ function pwmdisable()
if [ "$SYSFS" = "1" ]
then
echo $MAX > $1
ENABLE=${1/pwm/pwm_enable}
ENABLE=${1}_enable
if [ -f $ENABLE ]
then
echo 0 > $ENABLE
@@ -134,7 +134,7 @@ function pwmenable()
{
if [ "$SYSFS" = "1" ]
then
ENABLE=${1/pwm/pwm_enable}
ENABLE=${1}_enable
if [ -f $ENABLE ]
then
echo 1 > $ENABLE
+3 -3
View File
@@ -95,7 +95,7 @@ function pwmdisable()
if [ "$SYSFS" = "1" ]
then
echo $MAX > $1
ENABLE=${1/pwm/pwm_enable}
ENABLE=${1}_enable
if [ -f $ENABLE ]
then
echo 0 > $ENABLE
@@ -110,7 +110,7 @@ function pwmenable()
{
if [ "$SYSFS" = "1" ]
then
ENABLE=${1/pwm/pwm_enable}
ENABLE=${1}_enable
if [ -f $ENABLE ]
then
echo 1 > $ENABLE
@@ -363,7 +363,7 @@ fi
if [ "$SYSFS" = "1" ]
then
MATCH='*/temp_input[1-9]'
MATCH='*/temp[1-9]_input'
else
MATCH='*/temp[1-9]'
fi