Lines Matching refs:then
41 if is_linux; then
42 if [[ -z $hostnum ]]; then
61 if is_linux; then
75 if is_linux; then
93 if is_linux; then
108 if is_linux; then
125 if is_linux; then
128 if (($? == 0)); then
147 if is_linux; then
151 ~ /^[[:digit:]]+$/') ]] || ( is_real_device $disk ); then
155 $disk ); then
179 if is_linux; then
182 if is_mpath_device $disk; then
203 if ! $(is_physical_device $device) ; then
204 if [[ $device != "/" ]]; then
207 if [[ -b "$DEV_DSKDIR/$device" ]]; then
224 if is_linux; then
225 if is_real_device $device; then
230 elif is_mpath_device $device; then
260 if is_linux; then
261 if [[ $state == "offline" ]] && ( is_mpath_device $disk ); then
269 if (($? == 0)); then
277 if (($? == 0)); then
285 elif [[ $state == "offline" ]] && ( is_real_device $disk ); then
288 if (($? == 0)); then
294 if (($? == 0)); then
301 elif [[ $state == "online" ]]; then
305 if is_mpath_device $disk; then
311 if (($? != 0)); then
314 elif is_real_device $disk; then
318 if (( $retries > 2 )); then
387 if is_linux; then
389 if (($? != 0)); then
394 if (($? == 0)); then
402 if (($? == 1)); then
427 if [ "$val" != "-" ] ; then
444 if is_linux; then