about summary refs log tree commit diff
path: root/shutdown.d/60-udev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shutdown.d/60-udev.sh')
-rw-r--r--shutdown.d/60-udev.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/shutdown.d/60-udev.sh b/shutdown.d/60-udev.sh
new file mode 100644
index 0000000..dd42ff7
--- /dev/null
+++ b/shutdown.d/60-udev.sh
@@ -0,0 +1,4 @@
+if [ -z "$VIRTUALIZATION" ]; then
+    msg "Stopping udev..."
+    udevadm control --exit
+fi