add missing givepin file
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Jul 2005 14:06:42 +0000 (14:06 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Jul 2005 14:06:42 +0000 (14:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1574 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/bluez-utils/files/givepin [new file with mode: 0644]

diff --git a/openwrt/package/bluez-utils/files/givepin b/openwrt/package/bluez-utils/files/givepin
new file mode 100644 (file)
index 0000000..e52a338
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Write bluetooth PIN number here:
+pin=
+
+if [ -z "$pin" ]; then
+       msg="Set bluetooth PIN in file $0"
+       logger -p user.err "$msg"
+       for i in /dev/pts/* ; do
+               [ -w $i ] && echo "$msg" > $i
+       done
+else
+       echo "PIN:$pin"
+fi
This page took 0.026609 seconds and 4 git commands to generate.