add missing givepin file
SVN-Revision: 1574
This commit is contained in:
parent
80fa31a204
commit
e405ecc5c4
1 changed files with 14 additions and 0 deletions
14
openwrt/package/bluez-utils/files/givepin
Normal file
14
openwrt/package/bluez-utils/files/givepin
Normal file
|
@ -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
|
Loading…
Reference in a new issue