Show
Ignore:
Timestamp:
04/24/05 21:50:37 (8 years ago)
Author:
mds
Message:

support 2.6 kernels

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/rrd/Makefile

    r2335 r2982  
    33# 
    44USER=apache 
     5# CRONTAB not used 
    56#CRONTAB=/var/spool/cron/tabs/$(USER) 
    67RRDPATH=/usr/local/rrdtool/bin 
     
    910APACHE=/var/www/html 
    1011APACHDIR=$(APACHE)/senspix 
    11 SENSDEV=bmc-ipmi-0000 
    1212MACH=`uname -n` 
    13 # 
     13# 2.4 kernels 
     14#SENSDEV=w83781d-isa-0290 
     15#SENSDIR=/proc/sys/dev/sensors/$(SENSDEV) 
     16# 2.6 kernels 
     17SENSDEV=0-0290 
     18SENSDIR=/sys/bus/i2c/devices/$(SENSDEV) 
     19################################################ 
    1420# Everything below here should be fine 
    1521# 
    1622RRDB=$(RRDDIR)/sensors.rrd 
    17 SENSDIR=/proc/sys/dev/sensors/$(SENSDEV) 
    1823 
    1924all: sens_day.cgi sens_week.cgi summ_week.cgi $(SENSDIR)