mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-28 23:26:08 +00:00
20 lines
576 B
HolyC
Executable file
20 lines
576 B
HolyC
Executable file
|
|
Cd(__DIR__);;
|
|
#include "Load"
|
|
I64 retries = 5;
|
|
NetConfigure;
|
|
while (ipv4_globals.local_ip == 0 && retries--) // local_ip is set if NetConfigure is successful
|
|
{
|
|
"\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";
|
|
}
|