aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions-ipv6
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2009-07-29 17:36:31 -0400
committerBill Nottingham <notting@redhat.com>2009-07-30 12:24:41 -0400
commit525d516df94b7c044cd97de27b6924d188ed4048 (patch)
treed3b0ea52cf800b61d647907b4263e55874fec616 /sysconfig/network-scripts/network-functions-ipv6
parent1096cd2ebc150e5c74b5e8e4016b835f34cd3f48 (diff)
downloadinitscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar
initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.gz
initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.bz2
initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.xz
initscripts-525d516df94b7c044cd97de27b6924d188ed4048.zip
Use $(( )) for arithmetic statements instead of let or $[ ].
Diffstat (limited to 'sysconfig/network-scripts/network-functions-ipv6')
-rw-r--r--sysconfig/network-scripts/network-functions-ipv66
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6
index d56d7436..91329ff2 100644
--- a/sysconfig/network-scripts/network-functions-ipv6
+++ b/sysconfig/network-scripts/network-functions-ipv6
@@ -44,7 +44,7 @@ ipv6_log() {
case $t in
'stdout'|'stderr'|'syslog')
local channel="$t"
- local fn=$[ $fn + 1 ]
+ local fn=$(($fn + 1))
;;
*)
local channel="stdout"
@@ -58,7 +58,7 @@ ipv6_log() {
case $t in
'local0'|'local1'|'local2'|'local3'|'local4'|'local5'|'local6'|'local7'|'daemon')
local facility="$t"
- local fn=$[ $fn + 1 ]
+ local fn=$(($fn + 1))
;;
*)
local facility="user"
@@ -80,7 +80,7 @@ ipv6_log() {
case $t in
'info'|'debug'|'notice'|'warn'|'err'|'crit')
local priority="$t"
- local fn=$[ $fn + 1 ]
+ local fn=$(($fn + 1))
;;
*)
local priority="notice"