mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
exec cli strings as commands on init
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# For temparary test commands, first copy this file to to
|
||||
# S99 which is already gitignored.
|
||||
echo 'S98'
|
||||
# insmod /hello.ko
|
||||
if [ -n "$lkmc_eval" ]; then
|
||||
eval "$lkmc_eval"
|
||||
fi
|
||||
exit 0
|
||||
|
||||
2
rootfs_overlay/eval.sh
Executable file
2
rootfs_overlay/eval.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
eval "$lkmc_eval"
|
||||
Reference in New Issue
Block a user