mirror of
https://github.com/systemd/systemd.git
synced 2026-07-17 04:50:47 +00:00
[PATCH] update the Red Hat .dev files to work on other distros
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user