projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
check if some /proc files exist, before using it, for systems without diag kernel...
[openwrt.git]
/
openwrt
/
package
/
bluez-utils
/
files
/
givepin
1
#!/bin/sh
2
3
# Write bluetooth PIN number here:
4
pin
=
5
6
if
[
-z
"
$pin
"
];
then
7
msg
=
"Set bluetooth PIN in file
$0
"
8
logger
-p
user.err
"
$msg
"
9
for
i
in
/
dev
/
pts
/* ;
do
10
[
-w
$i
] &&
echo
"
$msg
"
>
$i
11
done
12
else
13
echo
"PIN:
$pin
"
14
fi
This page took
0.046386 seconds
and
5
git commands to generate.