simple-init

A set of init binaries for linux
git clone git://depsterr.com/git/simple-init
Log | Files | Refs | README | LICENSE

commit 4746019d467b574a0393ad10a531e6314a66dc09
parent 972e078fabc3cb2d6fdc06439dc8d89d28368a2b
Author: depsterr <depsterr@protonmail.com>
Date:   Sat,  6 Jun 2020 16:23:59 +0200

updated config

Diffstat:
Minitscripts/config.h | 2--
Minitscripts/init.c | 3++-
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/initscripts/config.h b/initscripts/config.h @@ -4,6 +4,4 @@ */ #define GETTY -#define UDEV // #define AGETTY -// #define MDEV diff --git a/initscripts/init.c b/initscripts/init.c @@ -16,7 +16,6 @@ int main() { wait_for_children(); mount("mode=0755,nosuid", "devtmpfs", "dev", "/dev" ); - mkdir("/dev/runit", 0755); mkdir("/run/user" , 0755); mkdir("/run/lock" , 0755); mkdir("/run/log" , 0755); @@ -77,6 +76,8 @@ int main() { #elif defined AGETTY char* tty1[] = { "/bin/agetty", "38400", "tty1", 0 }; char* tty2[] = { "/bin/agetty", "38400", "tty2", 0 }; +#else +#error "Not using getty nor agetty, please change the source manually to add support for your alternative." #endif respawn_process(tty1); respawn_process(tty2);