Changes

From Amahi Wiki
Jump to: navigation, search
51 bytes removed ,  11:37, 7 December 2014
Search for (Ctrl+w) (line 60): --all
It has this:
 if ( trim($diskname != "") && (CommonFunctions::executeProgram('smartctl', '--all'.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '')$diskdev.' '.$diskdiskname, $buffer, PSI_DEBUG))) { 
Change it to:
 if ( trim($diskname != "") && (CommonFunctions::executeProgram('sudo', '/usr/sbin/smartctl --all '.((PSI_PLUGIN_SMART_DEVICE) ? ' --device '.PSI_PLUGIN_SMART_DEVICE : '')$diskdev.' '.$diskdiskname, $buffer, PSI_DEBUG))) {
Just a note that all we changed was:
20

edits