mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-19 22:46:36 -05:00
Use standard smartctl.exe
This commit is contained in:
parent
779acb9cd1
commit
5812ec8bd8
2 changed files with 4 additions and 4 deletions
|
|
@ -816,7 +816,7 @@ distwindows-x86: $(DISTWIN)
|
|||
rm -f $(PACKAGE)-$(VERSION)-windows-x86.zip
|
||||
mkdir tmp
|
||||
cp $(DISTWIN) tmp
|
||||
cp support/smartctl-nc.exe tmp/smartctl-nc.exe
|
||||
cp support/smartctl.exe tmp/smartctl.exe
|
||||
cp support/hdparm.exe tmp/hdparm.exe
|
||||
utod < snapraid.conf.example.windows > tmp/snapraid.conf.example
|
||||
utod < INSTALL.windows > tmp/install.txt
|
||||
|
|
@ -832,7 +832,7 @@ distwindows-x64: $(DISTWIN)
|
|||
rm -f $(PACKAGE)-$(VERSION)-windows-x64.zip
|
||||
mkdir tmp
|
||||
cp $(DISTWIN) tmp
|
||||
cp support/smartctl-nc.exe tmp/smartctl-nc.exe
|
||||
cp support/smartctl.exe tmp/smartctl.exe
|
||||
cp support/hdparm.exe tmp/hdparm.exe
|
||||
utod < snapraid.conf.example.windows > tmp/snapraid.conf.example
|
||||
utod < INSTALL.windows > tmp/install.txt
|
||||
|
|
|
|||
|
|
@ -2041,7 +2041,7 @@ static int devscan(tommy_list* list)
|
|||
FILE* f;
|
||||
int ret;
|
||||
|
||||
snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl-nc.exe\" --scan-open -d pd", exedir);
|
||||
snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl.exe\" --scan-open -d pd", exedir);
|
||||
|
||||
f = _wpopen(cmd, L"rt");
|
||||
if (!f) {
|
||||
|
|
@ -2084,7 +2084,7 @@ static int devsmart(uint64_t device, uint64_t* smart, char* serial)
|
|||
FILE* f;
|
||||
int ret;
|
||||
|
||||
snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl-nc.exe\" -a /dev/pd%" PRIu64, exedir, device);
|
||||
snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl.exe\" -a /dev/pd%" PRIu64, exedir, device);
|
||||
|
||||
f = _wpopen(cmd, L"rt");
|
||||
if (!f) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue