summaryrefslogtreecommitdiff
path: root/etc/daily
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-01-06 14:11:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-01-06 14:11:13 +0000
commit2218098ba128f7db376daa1f09b8c64aa0553ff1 (patch)
treef1c384a07a81b56abb5f78254c61c83d1e745e3c /etc/daily
parenteb4cf5a527ef077db0bb51008f3fc3ec99d3ff7b (diff)
backout atactl check; I had warned that this would try a lot of code
paths which are rarely tried. Problem reported by a few on the list.
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily11
1 files changed, 1 insertions, 10 deletions
diff --git a/etc/daily b/etc/daily
index e7c00b2550c..b449d93f18e 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,5 +1,5 @@
#
-# $OpenBSD: daily,v 1.75 2012/12/11 17:09:50 ajacoutot Exp $
+# $OpenBSD: daily,v 1.76 2013/01/06 14:11:12 deraadt Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
# For local additions, create the file /etc/daily.local.
@@ -143,15 +143,6 @@ while [ "X$ROOTBACKUP" = X1 ]; do
done
next_part "Checking subsystem status:"
-for d in $(sysctl -n hw.disknames | grep -Eo '[sw]d[0-9]+'); do
- if atactl ${d} 2>&1 | sed -n '/Device has enabled/,$p' | grep -q 'SMART feature set'; then
- SMARTSTATUS=$(atactl ${d} smartstatus 2>&1 >/dev/null)
- if [ "X${SMARTSTATUS}" != X"" ]; then
- echo ""
- echo "${d}: ${SMARTSTATUS}"
- fi
- fi
-done
if [ "X$VERBOSESTATUS" != X0 ]; then
echo ""
echo "disks:"