diff options
Diffstat (limited to 'system/kqemu/doinst.sh')
-rw-r--r-- | system/kqemu/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/kqemu/doinst.sh b/system/kqemu/doinst.sh new file mode 100644 index 0000000000000..64b4ec816bfc8 --- /dev/null +++ b/system/kqemu/doinst.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ -x sbin/depmod ]; then + chroot . /sbin/depmod -a 1> /dev/null 2> /dev/null +fi + +# Create the kqemu device. No special priviledge is needed to use kqemu. +device="dev/kqemu" +rm -f $device +mknod $device c 250 0 +chmod 666 $device |