version of the same port, tweak + ok aja@ GSmartControl is a graphical user interface for smartctl (from the smartmontools package), which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk drives. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it.
13 lines
713 B
Plaintext
13 lines
713 B
Plaintext
$OpenBSD: patch-src_gsc_settings_h,v 1.1.1.1 2011/07/08 18:17:12 sthen Exp $
|
|
--- src/gsc_settings.h.orig Sun May 1 14:13:09 2011
|
|
+++ src/gsc_settings.h Fri Jul 8 15:19:14 2011
|
|
@@ -31,7 +31,7 @@ inline void init_default_settings()
|
|
|
|
|
|
#ifndef _WIN32
|
|
- rconfig::set_default_data("system/smartctl_binary", "smartctl"); // must be in PATH or use absolute path.
|
|
+ rconfig::set_default_data("system/smartctl_binary", "${LOCALBASE}/sbin/smartctl"); // must be in PATH or use absolute path.
|
|
rconfig::set_default_data("system/tw_cli_binary", "tw_cli"); // must be in PATH or use absolute path.
|
|
#else
|
|
rconfig::set_default_data("system/smartctl_binary", "smartctl-nc.exe"); // use no-console version by default.
|