Changeset 4569

Show
Ignore:
Timestamp:
07/06/07 21:24:57 (7 years ago)
Author:
jwrdegoede
Message:

handle /usr/bin location of sensors command in example scripts printed by sensors-detect

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect

    r4567 r4569  
    56335633        $modprobes. 
    56345634        "# sleep 2 # optional\n". 
    5635         "/usr/local/bin/sensors -s # recommended\n". 
     5635        (-e '/usr/bin/sensors' ? 
     5636          "/usr/bin/sensors -s # recommended\n" : 
     5637          "/usr/local/bin/sensors -s # recommended\n") . 
    56365638        "#----cut here----\n\n"; 
    56375639