diff options
Diffstat (limited to 'src/initramfs-init.sh')
-rw-r--r-- | src/initramfs-init.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/initramfs-init.sh b/src/initramfs-init.sh index a566b57..6a812b9 100644 --- a/src/initramfs-init.sh +++ b/src/initramfs-init.sh @@ -1,12 +1,15 @@ -#!/bin/sh - # mount the proc file system mkdir /proc mount -t proc proc /proc +# create devices +mkdir -p /dev/input +mknod /dev/input/event0 c 13 64 + +# insert module insmod /usr/keylogger.ko -# run each test +# run tests echo "$(cd usr; ls -v1 tests | while read line; do tests/$line; echo; done)" exec /bin/sh |