stdlibc: ~several fixes
[meinos.git] / apps / init / init.conf.h
blobc04d37789058015400ec63c9ada390601c5482d4
1 #ifndef _INIT_CONF_H_
2 #define _INIT_CONF_H_
4 /// @todo generate this header from some config file in /etc/init.d
6 // Default mount parameters for boot device
7 #ifndef BOOT_FS
8 #define BOOT_FS "iso9660"
9 #endif
10 #ifndef BOOT_MP
11 #define BOOT_MP "/boot"
12 #endif
13 #ifndef BOOT_DEV
14 #define BOOT_DEV "/dev/cdrom0"
15 #endif
16 #ifndef BOOT_RO
17 #define BOOT_RO 1
18 #endif
20 // Drivers to initialize
21 static const char *init_programs[] = {
22 "vfs",
23 "devfs",
24 "ata",
25 "cdrom",
26 "iso9660",
27 "vterm",
28 NULL
31 #define INIT_PROGRAM(n) init_programs[n]
32 #define INIT2_PROGRAM "init2"
34 #endif