summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-06-06 00:10:35 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-06-06 00:10:35 +0000
commit48911619f75e2809b145c0bd5cd60cb80b1c1b69 (patch)
treec902976df803a18b73c589aedc6430a264504b95
parent53a07765b285df06b6bb35865a95bf641bb52b93 (diff)
Remove create_dev script
-rw-r--r--scripts/Makefile.am2
-rwxr-xr-xscripts/create_dev27
2 files changed, 1 insertions, 28 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index edaa129e..085d0a10 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,5 +1,5 @@
-EXTRA_DIST = bluetooth.init bluetooth.default create_dev
+EXTRA_DIST = bluetooth.init bluetooth.default
MAINTAINERCLEANFILES = Makefile.in
diff --git a/scripts/create_dev b/scripts/create_dev
deleted file mode 100755
index f3054793..00000000
--- a/scripts/create_dev
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# Create Bluetooth devices in /dev
-#
-
-VHCI_MAJOR=10
-VHCI_MINOR=250
-
-RFCOMM_MAJOR=216
-
-#
-# Create device for VHCI
-#
-if [ ! -c /dev/vhci ]; then
- mknod /dev/vhci c ${VHCI_MAJOR} ${VHCI_MINOR}
- chmod 664 /dev/vhci
-fi
-
-#
-# Create devices for RFCOMM
-#
-for i in `seq 0 255`
-do
- if [ ! -c /dev/rfcomm$i ]; then
- mknod -m 666 /dev/rfcomm$i c ${RFCOMM_MAJOR} $i
- fi
-done