PKGBUILDs/extra/qemu/qemu.install

9 lines
223 B
Text
Raw Normal View History

2016-10-15 15:45:40 +00:00
# Arg 1: the new package version
post_install() {
# trigger events on modules files when already loaded
for _f in /sys/devices/virtual/misc/{kvm,vhost-net}; do
[[ -e "$_f" ]] && udevadm trigger "$_f"
done
:
}