fiex typo

This commit is contained in:
Yasin Kaya
2020-11-26 14:02:00 +00:00
parent 0f93aaa4a1
commit ed281a616e
6 changed files with 12 additions and 13 deletions

View File

@@ -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