Subversion Repositories Kolibri OS

Rev

Rev 8918 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8918 leency 1
#define MEMSIZE 4096*20
2
#define ENTRY_POINT #main
3
 
4
#include "../lib/fs.h"
5
 
6
void main()
7
{
8
	RunProgram("/kolibrios/drivers/acpi/acpi", NULL);
9
 
10
	pause(300);
9585 vitalkrilo 11
	if (file_exists("/sys/drivers/devices.dat")) {
8918 leency 12
		if (GetSystemLanguage()==4) {
9585 vitalkrilo 13
			notify("'ACPI/APIC\n/sys/drivers/devices.dat был успешно сгенерирован.\nУстановка ещё не закончена. Следуйте указаниям в Readme!' -tdO");
8918 leency 14
		} else {
9585 vitalkrilo 15
			notify("'ACPI/APIC\n/sys/drivers/devices.dat was succesfully generated.\nInstallation is not completed.\nFor the next steps please check Readme!' -tdO");
8918 leency 16
		}
17
		RunProgram("/sys/@open", "/kolibrios/drivers/acpi/readme.txt");
18
	} else {
9585 vitalkrilo 19
		notify("'Error generating /sys/drivers/devices.dat' -E");
8918 leency 20
	}
21
 
22
	ExitProcess();
23
}