kolibrios/programs/cmm/misc/acpi_install.c
vitalkrilov 97e3188585 Fixed misuse of "/rd/1" (changed to "/sys") for some programs
git-svn-id: svn://kolibrios.org@9585 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 01:01:22 +00:00

24 lines
728 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("/sys/drivers/devices.dat")) {
if (GetSystemLanguage()==4) {
notify("'ACPI/APIC\n/sys/drivers/devices.dat ¡ë« ãᯥ譮 ᣥ­¥à¨à®¢ ­.\n“áâ ­®¢ª  ¥éñ ­¥ § ª®­ç¥­ . ‘«¥¤ã©â¥ 㪠§ ­¨ï¬ ¢ Readme!' -tdO");
} else {
notify("'ACPI/APIC\n/sys/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 /sys/drivers/devices.dat' -E");
}
ExitProcess();
}