mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2025-12-06 10:23:20 +00:00
fiex typo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user