#!/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" -a -x /usr/bin/logger ]; then /usr/bin/logger -p auth.debug "Restoring file security contexts for $DEVNAME" fi /sbin/restorecon $DEVNAME fi