diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /sys-apps/cciss_vol_status/files | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'sys-apps/cciss_vol_status/files')
-rw-r--r-- | sys-apps/cciss_vol_status/files/cciss_vol_status-r2.cron (renamed from sys-apps/cciss_vol_status/files/cciss_vol_status.cron2) | 0 | ||||
-rw-r--r-- | sys-apps/cciss_vol_status/files/cciss_vol_status.cron | 21 |
2 files changed, 0 insertions, 21 deletions
diff --git a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron2 b/sys-apps/cciss_vol_status/files/cciss_vol_status-r2.cron index 43731b48e0ca..43731b48e0ca 100644 --- a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron2 +++ b/sys-apps/cciss_vol_status/files/cciss_vol_status-r2.cron diff --git a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron b/sys-apps/cciss_vol_status/files/cciss_vol_status.cron deleted file mode 100644 index 8d1175b45678..000000000000 --- a/sys-apps/cciss_vol_status/files/cciss_vol_status.cron +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -test -x /usr/bin/cciss_vol_status || exit 0 - -STATUS=0 - -if [ -d /proc/driver/cciss ]; then - DEVS=`awk -F: '/^cciss\/c.*d0/{print "/dev/" $1}' /proc/driver/cciss/cciss*` - OUTPUT=`/usr/bin/cciss_vol_status $DEVS` - if [ $? -ne 0 ]; then - printf "%s\n" "$OUTPUT" - exit 1 - fi -fi -# FIXME: This cronjob should also look at the scsi generic nodes -# (/dev/sg*?) to cover the hpsa driver, fibre-attached MSA1000 family -# devices, orthehpahcisr software RAID driver (see cciss_vol_status(8) -# about how to choose the correct nodes -- i don't use these other -# devices, so i cannot verify how to check them cleanly) -# -exit 0 |