From: greg@kroah.com Date: Sat, 17 Apr 2004 07:25:20 +0000 (-0700) Subject: [PATCH] update the Red Hat .dev files to work on other distros X-Git-Tag: 025~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6763c8a5a1d954c6453c2b01e331ae95b1bcfe2a;p=systemd [PATCH] update the Red Hat .dev files to work on other distros --- diff --git a/etc/dev.d/default/dbus.dev b/etc/dev.d/default/dbus.dev index 0e79632b..2fe1ed9b 100644 --- a/etc/dev.d/default/dbus.dev +++ b/etc/dev.d/default/dbus.dev @@ -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 diff --git a/etc/dev.d/default/pam_console.dev b/etc/dev.d/default/pam_console.dev index 324c4fd8..7e95810e 100644 --- a/etc/dev.d/default/pam_console.dev +++ b/etc/dev.d/default/pam_console.dev @@ -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 diff --git a/etc/dev.d/default/selinux.dev b/etc/dev.d/default/selinux.dev index f168eefc..7911d345 100644 --- a/etc/dev.d/default/selinux.dev +++ b/etc/dev.d/default/selinux.dev @@ -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