PKGBUILDs/extra/qemu/qemu-common.install
2022-05-09 13:42:41 +00:00

14 lines
315 B
Text

post_install() {
if [[ -d /run/udev ]]; then
local file files=(
/sys/devices/virtual/misc/vhost-net
)
# trigger change event when modules are already loaded
for file in "${files[@]}"; do
if [[ -d $file ]]; then
udevadm trigger --action=change "$file"
fi
done
fi
}