After an update to V4.3 -> Internet check fail - Can't update without internet
After a script update to V4.3 I had the following error message:
Internet check fail - Can't update without internet
My internet connection was fine and a manual apt update worked.
I looked through the recent commits and found a change in the update.conf file (new config option):
EXE_FOR_INTERNET_CHECK="ping"
Without it, the script fails the CHECK_INTERNET () function and exit Not a big deal, but I figured I'd post here in case someone else run into the same issue.
If you cannot get the script to work after an update, please add this new config option to the following file:
/etc/ultimate-updater/update.conf
Thanks
Its a feature not a bug 😀
You don't use the new config file with ping/curl support.
Best would be, to use the new config file for best usage 😎
The config file is not auto migrated with the new EXE_FOR_INTERNET_CHECK option on script update.
IMO it's fine this way, as user config files should be left untouched.
However, maybe you should consider using ping as a fallback method when no EXE_FOR_INTERNET_CHECK is present in the config?
Will make it in further release.
During update the script asked you, to use the new config file. If you press Enter, the new file os used and the old one is backed up.
Thanks!