mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-12-23 09:47:36 +00:00
fiex typo
This commit is contained in:
parent
0f93aaa4a1
commit
ed281a616e
@ -22,7 +22,7 @@ if check_network -eq 0; then
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
else
|
||||
debug "Network registeration is failed!";
|
||||
fi
|
||||
@ -51,7 +51,7 @@ while true; do
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
fi
|
||||
fi
|
||||
sleep $INTERVAL
|
||||
|
@ -10,7 +10,7 @@ if check_network -eq 0; then
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
else
|
||||
debug "Network registeration is failed!";
|
||||
fi
|
||||
@ -39,7 +39,7 @@ while true; do
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
fi
|
||||
fi
|
||||
sleep $INTERVAL
|
||||
|
@ -63,7 +63,7 @@ if check_network -eq 0; then
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
|
||||
else
|
||||
debug "Network registeration is failed!";
|
||||
@ -93,7 +93,7 @@ while true; do
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
fi
|
||||
fi
|
||||
sleep $INTERVAL
|
||||
|
@ -64,7 +64,7 @@ if check_network -eq 0; then
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
else
|
||||
debug "Network registeration is failed!";
|
||||
fi
|
||||
@ -93,7 +93,7 @@ while true; do
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
fi
|
||||
fi
|
||||
sleep $INTERVAL
|
||||
|
@ -43,7 +43,6 @@ function power_up_module()
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
# Modem power up
|
||||
if power_up_module -eq 0 ; then sleep 0.1; else debug "Module couldn't be powered up! Check the hardware setup!"; fi
|
||||
|
||||
@ -54,7 +53,7 @@ if check_network -eq 0; then
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
else
|
||||
debug "Network registeration is failed!";
|
||||
fi
|
||||
@ -83,7 +82,7 @@ while true; do
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
fi
|
||||
fi
|
||||
sleep $INTERVAL
|
||||
|
@ -64,7 +64,7 @@ if check_network -eq 0; then
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
else
|
||||
debug "Network registeration is failed!";
|
||||
fi
|
||||
@ -93,7 +93,7 @@ while true; do
|
||||
# check default interface
|
||||
route | grep ppp | grep default > /dev/null
|
||||
PPP_IS_DEFAULT=$?
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually." fi
|
||||
if [[ $PPP_IS_DEFAULT -ne 0 ]]; then sudo route add default ppp0; debug "ppp0 is added as default interface manually."; fi
|
||||
fi
|
||||
fi
|
||||
sleep $INTERVAL
|
||||
|
Loading…
Reference in New Issue
Block a user