summaryrefslogtreecommitdiff
path: root/etc/dev.d/default
diff options
context:
space:
mode:
Diffstat (limited to 'etc/dev.d/default')
-rw-r--r--etc/dev.d/default/dbus.dev15
-rw-r--r--etc/dev.d/default/selinux.dev18
2 files changed, 0 insertions, 33 deletions
diff --git a/etc/dev.d/default/dbus.dev b/etc/dev.d/default/dbus.dev
deleted file mode 100644
index 2fe1ed9b3a..0000000000
--- a/etc/dev.d/default/dbus.dev
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-if [ -f /etc/sysconfig/udev ]; then
- . /etc/sysconfig/udev
-fi
-
-if [ -f /etc/conf.d/udev ]; then
- . /etc/conf.d/udev
-fi
-
-[ "$UDEV_DBUS" != "yes" ] && exit 0
-
-if [ -x /usr/sbin/udev_dbus ]; then
- exec /usr/sbin/udev_dbus "$@"
-fi
diff --git a/etc/dev.d/default/selinux.dev b/etc/dev.d/default/selinux.dev
deleted file mode 100644
index 9682658aad..0000000000
--- a/etc/dev.d/default/selinux.dev
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-if [ -f /etc/sysconfig/udev ]; then
- . /etc/sysconfig/udev
-fi
-
-if [ -f /etc/conf.d/udev ]; then
- . /etc/conf.d/udev
-fi
-
-[ "$UDEV_SELINUX" != "yes" ] && exit 0
-
-if [ -x /sbin/restorecon ]; then
- if [ "$UDEV_LOG" = "yes" ] && [ -x /usr/bin/logger ]; then
- /usr/bin/logger -p auth.debug "Restoring file security contexts for $DEVNAME"
- fi
- /sbin/restorecon $DEVNAME
-fi