tags 283866 + patch
thanks
Here's a patch that handles udev.
Juergen
--- bluez-utils-2.15/debian/bluez-utils.postinst.org 2005-02-19 05:40:27.000000000 +0100
+++ bluez-utils-2.15/debian/bluez-utils.postinst 2005-02-19 05:41:30.000000000 +0100
@@ -29,10 +29,21 @@
RFCOMM_MAJOR=216
- # if devfs isn't mounted on /dev/ then
+ # if neither devfs nor udev is mounted on /dev/ then
# we need to create the device names
- if [ ! -r /dev/.devfsd ]; then
+ if [ -e /dev/.devfsd ]; then
+ # tell devfs about the new files
+ if [ -x /usr/sbin/update-devfsd ]; then
+ echo "Updating devfsd configuration ..."
+ /usr/sbin/update-devfsd >/dev/null
+ else
+ echo "You have devfs enabled but no devfsd. This means that the"
+ echo "RFCOMM device nodes cannot be checked and created if"
+ echo "necessary. To make sure, please install the `devfsd'"
+ echo "package and run `dpkg-reconfigure bluez-utils'."
+ fi
+ elif [ ! -e /dev/.udev.tdb -a ! -e /dev/.udevdb ]; then
echo "Checking and creating device nodes ..."
#
# Create device for VHCI
@@ -53,17 +64,6 @@
fi
C=`expr $C + 1`
done
- else
- # tell devfs about the new files
- if [ -x /usr/sbin/update-devfsd ]; then
- echo "Updating devfsd configuration ..."
- /usr/sbin/update-devfsd >/dev/null
- else
- echo "You have devfs enabled but no devfsd. This means that the"
- echo "RFCOMM device nodes cannot be checked and created if"
- echo "necessary. To make sure, please install the `devfsd'"
- echo "package and run `dpkg-reconfigure bluez-utils'."
- fi
fi
;;
=
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/