View Single Post
  #2   (View Single Post)  
Old 25th November 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default

Re: perl script

Probably you need to specify the complete path for both perl and the script.
Code:
hw.sensors.nsclpcsio0.temp0:high=4C:command= /usr/bin/perl /root/msg.pl
You can see which environment variables, like PATH, are visible to sensorsd by using:
Code:
hw.sensors.nsclpcsio0.temp0:high=4C:command= /usr/bin/env >variables.env.txt
and check the contents of the file.

The man pages of sensorsd and sensorsd.conf describe why there may be delays, for example the CAVEATS section of sensorsd(8)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote