]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 a7491ee35ff9888e8d594f8ce9f99f51ea9681ad..d9dd8463fb15c32196ad92a96b456337d264026f 100644 (file)
@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
                 exit(1);
        }
 
                 exit(1);
        }
 
-        sprintf(command, "smartctl -x /dev/%s", argv[1]);
+        sprintf(command, "smartctl -iHA /dev/%s", argv[1]);
         safe_system(command);
 
         return 0;
         safe_system(command);
 
         return 0;