mirror of https://github.com/hak5/openwrt-owl.git
parent
80fa31a204
commit
e405ecc5c4
|
@ -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