[PATCH] update the Red Hat .dev files to work on other distros

This commit is contained in:
greg@kroah.com 2004-04-17 00:25:20 -07:00 committed by Greg KH
parent b4eafd9467
commit 6763c8a5a1
3 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,10 @@ 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

View file

@ -4,6 +4,10 @@ if [ -f /etc/sysconfig/udev ]; then
. /etc/sysconfig/udev
fi
if [ -f /etc/conf.d/udev ]; then
. /etc/conf.d/udev
fi
[ "$UDEV_CONSOLE" != "yes" ] && exit 0
if [ -x /sbin/pam_console_setowner ]; then

View file

@ -4,6 +4,10 @@ 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