mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
Motivation: userland is getting several new subdirectories, it would be too insane to just dump all of that in the guest root filesystem. To alleviate the cd pain, .profile puts user inside /lkmc by default.
7 lines
234 B
Bash
Executable File
7 lines
234 B
Bash
Executable File
#!/bin/sh
|
|
# Failed attempt at debugging /init, because:
|
|
# init must be run as pid 1
|
|
# Is this just a random BusyBox sanity check?
|
|
# - https://stackoverflow.com/questions/35019995/strace-init-process-pid-1-in-linux
|
|
/sbin/init "$@"
|