[issue275] provide initscript for kqemu
Michael Prokop
bts at bts.grml.org
Sat Sep 1 22:20:56 CEST 2007
New submission from Michael Prokop <mika at grml.org>:
Thanks for the feature request on the grml-mailinglist, Tong.
Something like the following (but use lsb-infrastructure instead of echo):
#!/bin/sh
case "$1" in
start)
echo "Starting kqemu: "
/sbin/modprobe kqemu major=0 load the kernel module
mknod /dev/kqemu c 250 0 # create the device
chmod 666 /dev/kqemu /dev/net/tun # adjust permissions
;;
stop)
echo "Stopping kqemu: "
/sbin/rmmod kqemu
;;
restart)
/sbin/modprobe kqemu major=0
;;
*)
;;
esac
----------
messages: 756
nosy: mika
priority: wish
status: unread
title: provide initscript for kqemu
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue275>
_____________________________________
More information about the Bugs-changes
mailing list