sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (f2d731c86583163ebf27fecafcd2f05e643c03a9)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (f2d731c86583163ebf27fecafcd2f05e643c03a9)
- Date: Thu, 21 Jul 2022 21:43:21 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
utils/hddtemp/DETAILS | 2 +-
utils/hddtemp/HISTORY | 5 +++++
utils/hddtemp/init.d/hddtemp | 9 +++++----
3 files changed, 11 insertions(+), 5 deletions(-)
New commits:
commit f2d731c86583163ebf27fecafcd2f05e643c03a9
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
hddtemp: init.d: Fix drive path parsing
diff --git a/utils/hddtemp/DETAILS b/utils/hddtemp/DETAILS
index d747e13..fc59248 100755
--- a/utils/hddtemp/DETAILS
+++ b/utils/hddtemp/DETAILS
@@ -1,6 +1,6 @@
SPELL=hddtemp
VERSION=0.3-beta15
- PATCHLEVEL=1
+ PATCHLEVEL=2
SOURCE=${SPELL}-${VERSION}.tar.bz2
SOURCE2=${SPELL}.db
SOURCE3=hddtemp_0.3-beta15-46.diff.gz
diff --git a/utils/hddtemp/HISTORY b/utils/hddtemp/HISTORY
index 6abd3d0..262fdd8 100644
--- a/utils/hddtemp/HISTORY
+++ b/utils/hddtemp/HISTORY
@@ -1,3 +1,8 @@
+2022-07-21 Ismael Luceno <ismael AT sourcemage.org>
+ * init.d/hddtemp, init.d/hddtemp.conf: added OPTIONS
+ * init.d/hddtemp: fixed drive path parsing
+ * DETAILS: PATCHLEVEL++
+
2021-03-20 Ismael Luceno <ismael AT sourcemage.org>
* PRE_BUILD: Fixed build against musl
diff --git a/utils/hddtemp/init.d/hddtemp b/utils/hddtemp/init.d/hddtemp
index 2b93728..bf15530 100755
--- a/utils/hddtemp/init.d/hddtemp
+++ b/utils/hddtemp/init.d/hddtemp
@@ -10,11 +10,12 @@ PIDFILE=/var/run/hddtemp.pid
monitored_drives=""
for drive in ${MONITORED_DRIVES}; do
- if [[ drive != "/dev/*" ]]; then
- drive="/dev/$drive"
- fi
+ case "$drive" in
+ (/dev/*) ;;
+ (*) drive="/dev/$drive" ;;
+ esac
monitored_drives="$monitored_drives $drive"
-done;
+done
. /etc/init.d/smgl_init
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (f2d731c86583163ebf27fecafcd2f05e643c03a9), Ismael Luceno, 07/21/2022
Archive powered by MHonArc 2.6.24.