mirror of
https://github.com/ish-app/ish.git
synced 2026-01-25 14:06:40 +00:00
If you set the init command to /sbin/init, you'll see it fail to run openrc and then start a working getty.
12 lines
278 B
C
12 lines
278 B
C
#ifndef KERNEL_INIT_H
|
|
#define KERNEL_INIT_H
|
|
|
|
#include "fs/tty.h"
|
|
|
|
int mount_root(const struct fs_ops *fs, const char *source);
|
|
void create_first_process(void);
|
|
void set_console_device(int major, int minor);
|
|
int create_stdio(const char *file, struct tty_driver *driver);
|
|
|
|
#endif
|