[PATCH] update the Red Hat .dev files to work on other distros
This commit is contained in:
parent
b4eafd9467
commit
6763c8a5a1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue