mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 18:22:27 +02:00
15 lines
227 B
Plaintext
15 lines
227 B
Plaintext
|
#!/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
|