kolibrios-fun/programs/cmm/misc/acpi_install.c
Kirill Lipatov (Leency) b9df80cf80 autobuild acpi installer
git-svn-id: svn://kolibrios.org@8918 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-22 08:08:06 +00:00

24 lines
732 B
C

#define MEMSIZE 4096*20
#define ENTRY_POINT #main
#include "../lib/fs.h"
void main()
{
RunProgram("/kolibrios/drivers/acpi/acpi", NULL);
pause(300);
if (file_exists("/rd/1/drivers/devices.dat")) {
if (GetSystemLanguage()==4) {
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat ¡ë« ãᯥ譮 ᣥ­¥à¨à®¢ ­.\n“áâ ­®¢ª  ¥éñ ­¥ § ª®­ç¥­ . ‘«¥¤ã©â¥ 㪠§ ­¨ï¬ ¢ Readme!' -tdO");
} else {
notify("'ACPI/APIC\n/rd/1/drivers/devices.dat was succesfully generated.\nInstallation is not completed.\nFor the next steps please check Readme!' -tdO");
}
RunProgram("/sys/@open", "/kolibrios/drivers/acpi/readme.txt");
} else {
notify("'Error generating /rd/1/drivers/devices.dat' -E");
}
ExitProcess();
}