From f41b89051180c9be73cfee510e195662a093db32 Mon Sep 17 00:00:00 2001 From: Matt C Date: Sat, 4 Dec 2021 20:48:48 -0500 Subject: [PATCH] return inittab and startup to pre-bug state --- src/filesystem/etc/init.d/startup | 4 ---- src/filesystem/etc/inittab | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/filesystem/etc/init.d/startup b/src/filesystem/etc/init.d/startup index c3421dd..b8b772e 100755 --- a/src/filesystem/etc/init.d/startup +++ b/src/filesystem/etc/init.d/startup @@ -32,13 +32,9 @@ mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev # don't forget to create this file if you want to give your system a name if [[ -f /etc/hostname ]]; then cat /etc/hostname > /proc/sys/kernel/hostname - echo "sourced hostname from /etc/hostname" else echo "mysterious-ikeda" > /proc/sys/kernel/hostname - echo "fallback on default hostname" fi -echo "hostname should be set" -read # mdev is a mini-udev implementation that # populates /dev with devices by scanning /sys diff --git a/src/filesystem/etc/inittab b/src/filesystem/etc/inittab index 5e64da2..51fb622 100755 --- a/src/filesystem/etc/inittab +++ b/src/filesystem/etc/inittab @@ -1,4 +1,5 @@ ::sysinit:/etc/init.d/startup +::respawn:/usr/bin/runsvdir /etc/rc.d tty1::respawn:/sbin/getty 38400 tty1 tty2::respawn:/sbin/getty 38400 tty2 tty3::respawn:/sbin/getty 38400 tty3