1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 02:37:31 +02:00
openwrt-xburst/openwrt/package/bluez-utils/files/givepin
nbd f2e0ed122a add missing givepin file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-29 14:06:42 +00:00

15 lines
227 B
Bash

#!/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