#!/bin/sh # mount the proc file system mkdir /proc mount -t proc proc /proc insmod /usr/keylogger.ko # test the module echo "$(cd usr; ls -v1 tests | while read line; do tests/$line; echo; done)" exec /bin/sh