mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Fix init environment code examples
Likely not updated after --kernel-cli-after-dash was added. Prompted by: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/120
This commit is contained in:
2
run
2
run
@@ -172,6 +172,7 @@ Pass an extra Linux kernel command line options, and place them before
|
||||
the dash separator `-`. Only options that come before the `-`, i.e.
|
||||
"standard" options, should be passed with this option.
|
||||
Example: `./run --arch arm --kernel-cli 'init=/lkmc/poweroff.out'`
|
||||
See also: https://cirosantilli.com/linux-kernel-module-cheat#init-environment
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
@@ -182,6 +183,7 @@ separator, and place the options after the dash. Intended for custom
|
||||
options understood by our `init` scripts, most of which are prefixed
|
||||
by `lkmc_`.
|
||||
Example: `./run --kernel-cli-after-dash 'lkmc_eval="wget google.com" lkmc_lala=y'`
|
||||
See also: https://cirosantilli.com/linux-kernel-module-cheat#init-environment
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user