summaryrefslogtreecommitdiff
path: root/etc/dev.d/default/selinux.dev
diff options
context:
space:
mode:
Diffstat (limited to 'etc/dev.d/default/selinux.dev')
-rw-r--r--etc/dev.d/default/selinux.dev18
1 files changed, 0 insertions, 18 deletions
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