summarylogtreecommitdiffstats
path: root/qemu.install
diff options
context:
space:
mode:
authorSaren Arterius2019-04-28 00:24:46 +0800
committerSaren Arterius2019-04-28 00:24:46 +0800
commit1612e9ff9cb21a980a1c8568232144ea169031f1 (patch)
tree347416895ad33ec0b9d6d330a0eeb9d195080673 /qemu.install
downloadaur-1612e9ff9cb21a980a1c8568232144ea169031f1.tar.gz
first
Diffstat (limited to 'qemu.install')
-rw-r--r--qemu.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu.install b/qemu.install
new file mode 100644
index 000000000000..d90269ecfecd
--- /dev/null
+++ b/qemu.install
@@ -0,0 +1,8 @@
+# Arg 1: the new package version
+post_install() {
+ # trigger events on modules files when already loaded
+ for _f in /sys/devices/virtual/misc/vhost-net; do
+ [[ -e "$_f" ]] && udevadm trigger "$_f"
+ done
+ :
+}