1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /root/magellan-cvs/src/hdparm/hdparm.rc,v 1.1 2005-10-16 20:40:44 niro Exp $ |
# $Header: /root/magellan-cvs/src/hdparm/hdparm.rc,v 1.3 2005-10-16 20:52:24 niro Exp $ |
3 |
|
|
4 |
#%rlevels: 7:s |
#%rlevels: 7:s |
5 |
#%start: 54 |
#%start: 54 |
31 |
case "${disk}" in |
case "${disk}" in |
32 |
\#*|"") continue ;; |
\#*|"") continue ;; |
33 |
esac |
esac |
34 |
echo -e ${COLOREDSTAR}"Setting hdd params for ${COLBLUE}${disk}${COLDEFAULT} ..." |
echo -e ${COLOREDSTAR}"Setting hdd params ${COLBLUE}'${args}'${COLDEFAULT} for ${COLBLUE}${disk}${COLDEFAULT} ..." |
35 |
hdparm ${args} ${disk} &> /dev/null |
hdparm ${args} ${disk} &> /dev/null |
36 |
evaluate_retval |
evaluate_retval |
37 |
done |
done |