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/network3 | |
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/network3')
-rw-r--r-- | etc/rc.d/network3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index db56699..e4bf1e6 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -218,7 +218,7 @@ network_pass1() { if [ -n "${ifconfig_args}" ]; then ifconfig ${ifn} ${ifconfig_args} alias eval showstat_$ifn=1 - alias=`expr ${alias} + 1` + alias=$((${alias} + 1)) else break; fi |