summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/atm3
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-11-14 06:35:43 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-11-14 06:35:43 +0000
commitfa34986a65d9f598ce615796a9e39942487ab06b (patch)
tree2fe0b15358cebf7c2aa6f5356aa417d43b5c528f /etc/rc.d/atm3
parente3b965f7d57557c7273b062793ee6de6ff40223d (diff)
downloadFreeBSD-src-fa34986a65d9f598ce615796a9e39942487ab06b.zip
FreeBSD-src-fa34986a65d9f598ce615796a9e39942487ab06b.tar.gz
Avoid unnecessary calls to expr(1) by using standard shell arithmetic
expansion instead.
Diffstat (limited to 'etc/rc.d/atm3')
-rw-r--r--etc/rc.d/atm32
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/atm3 b/etc/rc.d/atm3
index 88e4354..1c53c7f 100644
--- a/etc/rc.d/atm3
+++ b/etc/rc.d/atm3
@@ -148,7 +148,7 @@ atm_pass2() {
netindx=0
while [ ${netindx} -lt ${netcnt} ]; do
net="${netname}${netindx}"
- netindx=`expr ${netindx} + 1`
+ netindx=$((${netindx} + 1))
echo -n " ${net}"
# Configure atmarp server
OpenPOWER on IntegriCloud