aboutsummaryrefslogtreecommitdiff
path: root/sh/net.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-22 13:37:24 +0000
committerRoy Marples <roy@marples.name>2007-11-22 13:37:24 +0000
commita1b9dabf4e89b9f4bb7f0c318ff87bb4d0be2168 (patch)
tree5730a0b34ce85d145b3a9c0146b84cdf9a06acc8 /sh/net.sh
parent5f37abddde55ee5ec2afb4e2b565326261bbc976 (diff)
Use yesno for more robustness
Diffstat (limited to 'sh/net.sh')
-rwxr-xr-xsh/net.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/net.sh b/sh/net.sh
index 42e6d018..133b5996 100755
--- a/sh/net.sh
+++ b/sh/net.sh
@@ -118,7 +118,7 @@ _wait_for_carrier() {
# Incase users don't want this nice feature ...
[ ${timeout} -le 0 ] && return 0
- [ "${RC_PARALLEL}" = "yes" ] && efunc=einfo
+ yesno ${RC_PARALLEL} && efunc=einfo
${efunc} "Waiting for carrier (${timeout} seconds) "
while [ ${timeout} -gt 0 ] ; do
sleep 1