Load sensor modules in collectd initskript

Moved lm_sensors from /usr/local to /usr because collectd not find it
This commit is contained in:
Arne Fitzenreiter
2008-05-27 17:55:52 +02:00
parent da20529163
commit a3f2742fc7
3 changed files with 48 additions and 28 deletions

View File

@@ -73,7 +73,7 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
cd $(DIR_APP) && make PREFIX=/usr $(MAKETUNING)
cd $(DIR_APP) && make PREFIX=/usr install
@rm -rf $(DIR_APP)
@$(POSTBUILD)