mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 10:52:25 +02:00
add missing givepin file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1574 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
81610c1841
commit
f2e0ed122a
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 New Issue
Block a user