readme: ./run -f does not need a - in the argument

This commit is contained in:
Ciro Santilli
2018-04-17 13:05:26 +01:00
parent 6e8cf30849
commit 383e1c3120

View File

@@ -832,7 +832,7 @@ It is kind of random: if you just `insmod` manually and then immediately `./rung
But this fails most of the time: shell 1:
....
./run -a arm -f '- lkmc_eval="insmod /hello.ko"'
./run -a arm -f 'lkmc_eval="insmod /hello.ko"'
....
shell 2:
@@ -920,7 +920,7 @@ So once we find the address the first time, we can just reuse it afterwards, as
Do a fresh boot and get the module:
....
./run -f '- lkmc_eval="/pr_debug.sh;insmod /fops.ko;/poweroff.out"'
./run -f 'lkmc_eval="/pr_debug.sh;insmod /fops.ko;/poweroff.out"'
....
The boot must be fresh, because the load address changes every time we insert, even after removing previous modules.