Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
return inittab and startup to pre-bug state
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt C committed Dec 5, 2021
1 parent 0ed53b7 commit f41b890
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions src/filesystem/etc/init.d/startup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/filesystem/etc/inittab
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f41b890

Please sign in to comment.