@@ -1514,8 +1514,8 @@ ap_stop(){
1514
1514
ifconfig $i down 2> /dev/null
1515
1515
1516
1516
if [[ -f /etc/routertools.d/scripts/stop-$i ]]; then
1517
- echo " Running custom stop script for interface $i "
1518
- source /etc/routertools.d/scripts/stop-$i
1517
+ echo " Running custom stop script for interface $i "
1518
+ source /etc/routertools.d/scripts/stop-$i
1519
1519
fi
1520
1520
done
1521
1521
}
@@ -1676,8 +1676,8 @@ ap_start(){
1676
1676
fi
1677
1677
1678
1678
if [[ -f /etc/routertools.d/scripts/start-$i ]]; then
1679
- echo " Running custom start script for interface $i "
1680
- source /etc/routertools.d/scripts/start-$i
1679
+ echo " Running custom start script for interface $i "
1680
+ source /etc/routertools.d/scripts/start-$i
1681
1681
fi
1682
1682
1683
1683
done
@@ -2005,7 +2005,7 @@ get_inet_iface_status(){
2005
2005
ledctl blink
2006
2006
2007
2007
if [[ $istatus -gt 0 ]]; then
2008
- ifnq echo " Interface $inet_iface is up."
2008
+ ifnq echo " Interface $inet_iface is up."
2009
2009
return 0
2010
2010
else
2011
2011
echo " Interface $inet_iface is down."
@@ -2126,14 +2126,14 @@ check_internet(){
2126
2126
local addr_dns_4=" github.com"
2127
2127
2128
2128
if get_inet_iface_status > /dev/null; then
2129
- ifnq echo " Internet interface test: Online"
2129
+ ifnq echo " Internet interface test: Online"
2130
2130
else
2131
2131
echo " Internet interface test: Offline"
2132
2132
bad_inet_iface=1
2133
2133
fi
2134
2134
2135
2135
if get_inet_status " 1.1.1.1" > /dev/null; then
2136
- ifnq echo " Internet availability test 1 (1.1.1.1): Online"
2136
+ ifnq echo " Internet availability test 1 (1.1.1.1): Online"
2137
2137
else
2138
2138
echo " Internet availability test 1 (1.1.1.1): Offline"
2139
2139
bad_inet_1=1
@@ -3087,7 +3087,7 @@ parse_cmdline ${final_args}
3087
3087
3088
3088
# Handle return value and errors
3089
3089
if [[ $count_arg -ne 0 ]]; then
3090
- ifv _exit
3090
+ ifv _exit
3091
3091
else
3092
3092
exit $?
3093
3093
fi
0 commit comments