diff options
author | greg@kroah.com <greg@kroah.com> | 2004-04-17 00:25:20 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:15 -0700 |
commit | 6763c8a5a1d954c6453c2b01e331ae95b1bcfe2a (patch) | |
tree | 580b49383406879e97fc2aebd1d7eae78a55527c | |
parent | [PATCH] add dbus.dev, pam_console.dev and selinux.dev files for /etc/dev.d/de... (diff) | |
download | systemd-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.dev | 4 | ||||
-rw-r--r-- | etc/dev.d/default/pam_console.dev | 4 | ||||
-rw-r--r-- | etc/dev.d/default/selinux.dev | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/etc/dev.d/default/dbus.dev b/etc/dev.d/default/dbus.dev index 0e79632b3..2fe1ed9b3 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 324c4fd80..7e95810e2 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 f168eefc4..7911d345b 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 |