From 1f0f835eddea3378e5b56faf25dcdf611bd4e71d Mon Sep 17 00:00:00 2001 From: FroggyFlox Date: Sun, 22 Sep 2019 12:48:44 -0400 Subject: [PATCH] Define SMARTD_CONFIG path conditionally on distro_id. Simplify UI text referring to smartd.conf to remove path. Code formatting. --- .../templates/services/configure_smartd.jst | 4 +- src/rockstor/system/smart.py | 324 ++++++++++-------- 2 files changed, 177 insertions(+), 151 deletions(-) diff --git a/src/rockstor/storageadmin/static/storageadmin/js/templates/services/configure_smartd.jst b/src/rockstor/storageadmin/static/storageadmin/js/templates/services/configure_smartd.jst index cedfda56c..ded4bf8f7 100644 --- a/src/rockstor/storageadmin/static/storageadmin/js/templates/services/configure_smartd.jst +++ b/src/rockstor/storageadmin/static/storageadmin/js/templates/services/configure_smartd.jst @@ -1,6 +1,6 @@