aboutsummaryrefslogtreecommitdiff
path: root/src/initramfs-init.sh
blob: 6a812b90344889df08ee71d4b855f8ec15e6ecbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 tests
echo "$(cd usr; ls -v1 tests | while read line; do tests/$line; echo; done)"

exec /bin/sh