This commit is contained in:
Ciro Santilli
2018-04-13 08:37:00 +01:00
parent 42e634ffd1
commit 2427a322fc
5 changed files with 67 additions and 0 deletions

View File

@@ -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: