Revert "Enabled more details at smartctrl webif output"
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 18 Sep 2009 20:07:18 +0000 (22:07 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 18 Sep 2009 20:07:18 +0000 (22:07 +0200)
This change produce ugly log-errors at some harddisks

This reverts commit 248a32b5aff263c0934332242af0e3faf1be1f59.

src/misc-progs/smartctrl.c

index a7491ee..d9dd846 100644 (file)
@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
                 exit(1);
        }
 
-        sprintf(command, "smartctl -x /dev/%s", argv[1]);
+        sprintf(command, "smartctl -iHA /dev/%s", argv[1]);
         safe_system(command);
 
         return 0;