diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-11-14 06:35:43 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-11-14 06:35:43 +0000 |
commit | fa34986a65d9f598ce615796a9e39942487ab06b (patch) | |
tree | 2fe0b15358cebf7c2aa6f5356aa417d43b5c528f /etc/rc.d/atm2 | |
parent | e3b965f7d57557c7273b062793ee6de6ff40223d (diff) | |
download | FreeBSD-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/atm2')
-rw-r--r-- | etc/rc.d/atm2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/atm2 b/etc/rc.d/atm2 index 88e4354..1c53c7f 100644 --- a/etc/rc.d/atm2 +++ b/etc/rc.d/atm2 @@ -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 |