summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/atm12
-rw-r--r--etc/rc.d/atm22
-rw-r--r--etc/rc.d/atm2.sh2
-rw-r--r--etc/rc.d/atm32
-rw-r--r--etc/rc.d/atm3.sh2
-rw-r--r--etc/rc.d/netoptions2
-rw-r--r--etc/rc.d/network12
-rw-r--r--etc/rc.d/network22
-rw-r--r--etc/rc.d/network32
-rw-r--r--etc/rc.d/routing2
10 files changed, 10 insertions, 10 deletions
diff --git a/etc/rc.d/atm1 b/etc/rc.d/atm1
index 88e4354..1c53c7f 100644
--- a/etc/rc.d/atm1
+++ b/etc/rc.d/atm1
@@ -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
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
diff --git a/etc/rc.d/atm2.sh b/etc/rc.d/atm2.sh
index 88e4354..1c53c7f 100644
--- a/etc/rc.d/atm2.sh
+++ b/etc/rc.d/atm2.sh
@@ -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
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
diff --git a/etc/rc.d/atm3.sh b/etc/rc.d/atm3.sh
index 88e4354..1c53c7f 100644
--- a/etc/rc.d/atm3.sh
+++ b/etc/rc.d/atm3.sh
@@ -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
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index db56699..e4bf1e6 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -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
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index db56699..e4bf1e6 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -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
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index db56699..e4bf1e6 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -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
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
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index db56699..e4bf1e6 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -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
OpenPOWER on IntegriCloud