diff options
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 |