dkms-kqemu enhancements

Till Maas <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
Hello,

here are some sniplets of files, that would be useful when added to the 
dkms-kqemu package. The first one ensures, that /dev/kqemu is created 
automatically when kqemu.ko is loaded, the second one makes kqemu.ko be 
loaded at booting and the last configures the permissions of /dev/kqemu (it 
consists of only one line). The GROUP needs to be adjusted, obviosly. The 
udev rule is only useful, when you create a kqemu group in the package. But 
if you not, it may be useful in the docdir for users to install it manually 
with their own username.

%{_sysconfdir}/modprobe.d/kqemu
options kqemu major=0

%{_sysconfdir}/sysconfig/modules/kqemu.modules
#!/bin/sh
/sbin/modprobe kqemu &>/dev/null

%{_sysconfdir}/udev/rules.d/90-kqemu.rules
ACTION=="add", DEVPATH=="/class/misc/kqemu", OWNER="root", MODE="0660", 
GROUP="till"

Regards,
Till
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.