summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data/addon-init
diff options
context:
space:
mode:
authorManuel Bentele2021-02-02 10:42:07 +0100
committerManuel Bentele2021-02-02 10:42:07 +0100
commiteaeb75d858f45447c4b3d17f33b6183f95b98466 (patch)
tree6846441981fa5fd43b24b3e973d38144d92f578e /core/modules/qemu/data/addon-init
parent[hardware-stats] Add ID45 to status updates (diff)
downloadmltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.tar.gz
mltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.tar.xz
mltk-eaeb75d858f45447c4b3d17f33b6183f95b98466.zip
[qemu] Rename 'qemukvm' core module to 'qemu'
Diffstat (limited to 'core/modules/qemu/data/addon-init')
-rwxr-xr-xcore/modules/qemu/data/addon-init8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/modules/qemu/data/addon-init b/core/modules/qemu/data/addon-init
new file mode 100755
index 00000000..cccc1e8a
--- /dev/null
+++ b/core/modules/qemu/data/addon-init
@@ -0,0 +1,8 @@
+#!/bin/ash
+
+systemctl daemon-reload
+systemctl start qemukvm.service
+
+# this seems to be necessary due to the misbehaviour of udevd
+# in view of the undetected ENV dev_type
+systemctl restart systemd-udevd