diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-06-23 23:57:33 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-06-23 23:57:33 +0000 |
commit | d7d22932f9a4c427a464ca0cea3bb45952ffeb04 (patch) | |
tree | be21464d5d38ea6d1ea9a4efd5bce5c49c871553 | |
parent | 7f08de4c331f1bfca0644394e7a0d79482e19bf8 (diff) |
That path to retry stuff does not work with this privilege stuff
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@146 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | munin/owfs_temperature_ | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/munin/owfs_temperature_ b/munin/owfs_temperature_ index 9a4f2df..f797b21 100755 --- a/munin/owfs_temperature_ +++ b/munin/owfs_temperature_ @@ -80,16 +80,6 @@ def report Process.egid=0 temp = nil - # Sometimes the directory in OWFS does not exist, and cat will say - # cat: /var/lib/owfs/10.D234EE000800/temperature: Invalid argument - # - # ls'ing the directory help, let's see if stating it does too. - 8.times do - break if File.directory?($owfs_path + '/' + device) - STDERR.puts "Directory '#{$owfs_path}/#{device}' does not exist right now (or isn't a directory). Sleeping a bit." - sleep 1 - end - # fuse does weird checks. this fails: # File.new($owfs_path+'/'+device+'/temperature', "r") ---> FAILS: in `initialize': Permission denied - /var/lib/owfs/10.D234EE000800/temperature (Errno::EACCES) IO.popen("-") do |f| |