Fix inittab back to adding /proc, fops sketch, scripts to automate debugfs

This commit is contained in:
Ciro Santilli
2017-05-12 17:06:34 +01:00
parent 401666d221
commit 2f77a45f63
6 changed files with 44 additions and 14 deletions

View File

@@ -1,3 +1,14 @@
# /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
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/init.d/rcK
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r