make overlay scripts use kernel modules and executables relative to pwd in preparison for 9p

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-13 00:00:00 +00:00
parent cd9c22f451
commit ddecb1bf5d
27 changed files with 59 additions and 43 deletions

View File

@@ -5,7 +5,7 @@ i="${d}/i"
j="${d}/j"
f=/sys/kernel/debug/lkmc_params
insmod /params.ko
insmod params.ko
[ "$(cat "$i")" = 0 ]
[ "$(cat "$j")" = 0 ]
[ "$(cat "$f")" = '0 0' ]
@@ -15,6 +15,6 @@ printf 2 > "$j"
[ "$(cat "$f")" = '1 2' ]
rmmod params
insmod /params.ko i=3 j=4
insmod params.ko i=3 j=4
[ "$(cat "$f")" = '3 4' ]
rmmod params