diff options
author | sjoerd@spring.luon.net <sjoerd@spring.luon.net> | 2004-04-08 18:48:56 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:15 -0700 |
commit | 4b06c852cb7da274b50f665a75367f901d8064ae (patch) | |
tree | 1452478c34cf0c0d1656dd58bff3ef5dc3d4196f /dev_d.c | |
parent | 1321258af575f1e704aedfb3b6ed8aa341632a50 (diff) |
[PATCH] DEVNODE -> DEVNAME transition fixes
It seems that the transition from DEVNODE to DEVNAME wasn't done
everywhere. This broke udev_dbus for me.
Attached patch does the transition in the places it wasn't done yet.
Diffstat (limited to 'dev_d.c')
-rw-r--r-- | dev_d.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,8 +11,8 @@ /* * This essentially emulates the following shell script logic in C: * DIR="/etc/dev.d" - * export DEVNODE="whatever_dev_name_udev_just_gave" - * for I in "${DIR}/$DEVNODE/"*.dev "${DIR}/$1/"*.dev "${DIR}/default/"*.dev ; do + * export DEVNAME="whatever_dev_name_udev_just_gave" + * for I in "${DIR}/$DEVNAME/"*.dev "${DIR}/$1/"*.dev "${DIR}/default/"*.dev ; do * if [ -f $I ]; then $I $1 ; fi * done * exit 1; |