Project

General

Profile

Download (234 Bytes) Statistics
| Branch: | Tag: | Revision:
1
#!/bin/sh
2

    
3
ATAIDLE=/usr/local/sbin/ataidle
4
for i in /dev/ad?; do
5
	SUPPORTED=`${ATAIDLE} ${i} | grep "APM Supported" | awk '{print $3;}'`
6
	if [ "${SUPPORTED}" = "yes" ] ; then
7
		echo Disabling APM on $i
8
		${ATAIDLE} -P 0 ${i}
9
	fi
10
done
(47-47/107)