summaryrefslogtreecommitdiff
path: root/etc/dev.d/default/dbus.dev
diff options
context:
space:
mode:
Diffstat (limited to 'etc/dev.d/default/dbus.dev')
-rw-r--r--etc/dev.d/default/dbus.dev11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/dev.d/default/dbus.dev b/etc/dev.d/default/dbus.dev
new file mode 100644
index 0000000000..0e79632b30
--- /dev/null
+++ b/etc/dev.d/default/dbus.dev
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ -f /etc/sysconfig/udev ]; then
+ . /etc/sysconfig/udev
+fi
+
+[ "$UDEV_DBUS" != "yes" ] && exit 0
+
+if [ -x /usr/sbin/udev_dbus ]; then
+ exec /usr/sbin/udev_dbus "$@"
+fi