Skip to content

Commit b04369d

Browse files
committed
linux config
1 parent 211fa64 commit b04369d

File tree

9 files changed

+5914
-2188
lines changed

9 files changed

+5914
-2188
lines changed

alpine/aarch64/etc/inittab

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# /etc/inittab
2+
3+
::sysinit:/sbin/openrc sysinit
4+
::sysinit:/sbin/openrc boot
5+
::wait:/sbin/openrc default
6+
7+
# Set up a couple of getty's
8+
#tty1::respawn:/sbin/getty 38400 tty1
9+
#tty2::respawn:/sbin/getty 38400 tty2
10+
#tty3::respawn:/sbin/getty 38400 tty3
11+
#tty4::respawn:/sbin/getty 38400 tty4
12+
#tty5::respawn:/sbin/getty 38400 tty5
13+
#tty6::respawn:/sbin/getty 38400 tty6
14+
15+
# Put a getty on the serial port
16+
ttyAMA0::respawn:/sbin/getty -L 0 ttyAMA0 vt100 -n -l /usr/sbin/autologin
17+
18+
# Stuff to do for the 3-finger salute
19+
::ctrlaltdel:/sbin/reboot
20+
21+
# Stuff to do before rebooting
22+
::shutdown:/sbin/openrc shutdown
23+

alpine/aarch64/usr/sbin/autologin

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
echo -e "\nBoot took $(cut -d' ' -f1 /proc/uptime) seconds\n"
3+
exec login -f root

0 commit comments

Comments
 (0)