mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
emulators/qemu-guest-agent: load required kernel module, fixes #2405
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
QEMU Guest Agent for FreeBSD
|
||||
|
||||
Port homepage https://github.com/aborche/qemu-guest-agent
|
||||
|
||||
WWW: http://wiki.qemu.org/Main_Page
|
||||
|
||||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.1
|
||||
|
||||
Fixed:
|
||||
* fix service startup by loading required kernel module (#2405)
|
||||
|
||||
1.0
|
||||
|
||||
* Initial release
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if kldstat -qn virtio_console.ko; then
|
||||
echo "qemu-guest-agent: virtio_console already loaded."
|
||||
elif kldload -q virtio_console.ko; then
|
||||
echo "qemu-guest-agent: successfully loaded virtio_console."
|
||||
else
|
||||
echo "qemu-guest-agent: failed to load virtio_console."
|
||||
fi
|
||||
Reference in New Issue
Block a user