slackbuilds_ponce/system/kqemu/doinst.sh
2010-05-11 15:18:40 +02:00

11 lines
242 B
Bash

#!/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