mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 04:01:36 +01:00
pci negator working, factorial not
This commit is contained in:
4
rootfs_overlay/mknoddev.sh
Executable file
4
rootfs_overlay/mknoddev.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
dev="lkmc_$1"
|
||||
major="$(grep "$dev" /proc/devices | cut -d ' ' -f 1)"
|
||||
mknod "/dev/$dev" c "$major" 0
|
||||
Reference in New Issue
Block a user