Add forgotten Firewire HDD (sbp2 non smp-kernel) to core7

Add smartenabler to core7


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1189 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
arne_f
2008-02-07 20:35:48 +00:00
parent 6c68959174
commit 2f5c016890
3 changed files with 5 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ case "$1" in
start)
for disk in `kudzu -qps -c HD | grep device: | cut -d" " -f2 | sort | uniq`; do
boot_mesg "Enabling S.M.A.R.T. for $disk ...";
/usr/sbin/smartctl --smart=on /dev/$disk > /dev/nul;
/usr/sbin/smartctl -d ata --smart=on /dev/$disk > /dev/nul;
evaluate_retval;
done
;;