mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
kstrto
This commit is contained in:
@@ -1239,6 +1239,8 @@ although `-E` is smarter:
|
||||
|
||||
so you should almost always use it, unless you are really counting each cycle ;-)
|
||||
|
||||
This method prevents the BusyBox' init from launching a shell, so you cannot interact with the system afterwards. If you also want that, use: <<init-busybox>>.
|
||||
|
||||
If the script is large, you can add it to a gitignored file and pass that to `-E` as in:
|
||||
|
||||
....
|
||||
@@ -1286,6 +1288,7 @@ But this fails when we are `init` itself!
|
||||
|
||||
but why not just use your super simple and effective `/poweroff.out` and be done with it?
|
||||
|
||||
[[init-busybox]]
|
||||
=== Run command at the end of BusyBox init
|
||||
|
||||
If you rely on something that BusyBox' init set up for you like networking, you could do:
|
||||
|
||||
Reference in New Issue
Block a user