mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
16 lines
558 B
Plaintext
16 lines
558 B
Plaintext
# /etc/inittab
|
|
::sysinit:/bin/mount -t proc proc /proc
|
|
::sysinit:/bin/mount -o remount,rw /
|
|
::sysinit:/bin/mkdir -p /dev/pts
|
|
::sysinit:/bin/mkdir -p /dev/shm
|
|
::sysinit:/bin/mount -a
|
|
::sysinit:/bin/hostname -F /etc/hostname
|
|
::sysinit:/etc/init.d/rcS
|
|
# https://unix.stackexchange.com/questions/299408/how-to-login-automatically-without-typing-root-in-buildroot-x86-64-qemu
|
|
console::respawn:/bin/sh
|
|
#console::respawn:/sbin/getty -n -L console 0 vt100
|
|
::ctrlaltdel:/sbin/reboot
|
|
::shutdown:/etc/init.d/rcK
|
|
::shutdown:/sbin/swapoff -a
|
|
::shutdown:/bin/umount -a -r
|