summaryrefslogtreecommitdiff
path: root/system/kqemu/doinst.sh
blob: 64b4ec816bfc8a49c52361106bf50de9b5cb6d6a (plain)
1
2
3
4
5
6
7
8
9
10
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