2021-12-29 03:52:09 +00:00
|
|
|
|
2021-07-02 00:53:42 +01:00
|
|
|
Cd(__DIR__);;
|
|
|
|
#include "Load"
|
2022-01-17 05:12:18 +00:00
|
|
|
I64 retries = 5;
|
|
|
|
while (ipv4_globals.local_ip == 0 && retries--) // local_ip is set if NetConfigure is successful
|
2021-07-02 00:53:42 +01:00
|
|
|
{
|
2022-01-17 05:12:18 +00:00
|
|
|
"\nNetConfigure unsuccessful. Retrying...\n";
|
|
|
|
NetConfigure;
|
|
|
|
}
|
|
|
|
if (ipv4_globals.local_ip == 0)
|
|
|
|
"\nNetConfigure unsuccessful. See Network Log for details.\n\n";
|
|
|
|
else
|
|
|
|
"\nNetConfigure successful!\n\n";
|
|
|
|
NetRep;
|
|
|
|
if (ipv4_globals.local_ip != 0 && Fs != sys_task)
|
|
|
|
{
|
|
|
|
"\nNow run one of the $MA,"Programs",LM="Cd(\"C:/Home/Net/Programs\");Dir;\n"$.\n";
|
|
|
|
"\nIf anything crashes to Debug, try typing $FG,0$G2;$FG$\n\n";
|
2021-07-02 00:53:42 +01:00
|
|
|
}
|