summaryrefslogtreecommitdiff
path: root/system/kqemu/rc.kqemu
diff options
context:
space:
mode:
Diffstat (limited to 'system/kqemu/rc.kqemu')
-rw-r--r--system/kqemu/rc.kqemu9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/kqemu/rc.kqemu b/system/kqemu/rc.kqemu
new file mode 100644
index 0000000000..5f8d6c923a
--- /dev/null
+++ b/system/kqemu/rc.kqemu
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+/sbin/modprobe kqemu
+
+# 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