Lines Matching refs:proc
53 if [ -e /proc/cmdline ]; then #linux only - future proofing against BSD and Hurd :)
54 if grep -wq "nohdparm" /proc/cmdline ; then
61 if [ -e /proc/mdstat ]; then
62 if egrep -iq "resync|repair|recover|check" /proc/mdstat; then
65 elif [ -e /proc/rd/status ]; then
66 raidstat=`cat /proc/rd/status`
77 if [ -f /proc/sys/dev/raid/speed_limit_min ]; then
78 raid_speed_limit_min=`cat /proc/sys/dev/raid/speed_limit_min`
79 echo 0 >/proc/sys/dev/raid/speed_limit_min
81 if [ -f /proc/sys/dev/raid/speed_limit_max ]; then
82 raid_speed_limit_max=`cat /proc/sys/dev/raid/speed_limit_max`
83 echo 0 >/proc/sys/dev/raid/speed_limit_max
90 if [ -f /proc/sys/dev/raid/speed_limit_min ] && [ "x$raid_speed_limit_min" != "x" ]; then
91 echo $raid_speed_limit_min >/proc/sys/dev/raid/speed_limit_min
93 if [ -f /proc/sys/dev/raid/speed_limit_max ] && [ "x$raid_speed_limit_max" != "x" ]; then
94 echo $raid_speed_limit_max >/proc/sys/dev/raid/speed_limit_max