summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-04-17 00:25:20 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:15 -0700
commit6763c8a5a1d954c6453c2b01e331ae95b1bcfe2a (patch)
tree580b49383406879e97fc2aebd1d7eae78a55527c
parentb4eafd94677a12f1dc3d6cade21cece0fd858339 (diff)
downloadsystemd-6763c8a5a1d954c6453c2b01e331ae95b1bcfe2a.tar.gz
systemd-6763c8a5a1d954c6453c2b01e331ae95b1bcfe2a.tar.bz2
systemd-6763c8a5a1d954c6453c2b01e331ae95b1bcfe2a.zip
[PATCH] update the Red Hat .dev files to work on other distros
-rw-r--r--etc/dev.d/default/dbus.dev4
-rw-r--r--etc/dev.d/default/pam_console.dev4
-rw-r--r--etc/dev.d/default/selinux.dev4
3 files changed, 12 insertions, 0 deletions
diff --git a/etc/dev.d/default/dbus.dev b/etc/dev.d/default/dbus.dev
index 0e79632b30..2fe1ed9b3a 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 324c4fd804..7e95810e2c 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 f168eefc42..7911d345b9 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