wok-6.x rev 19885
bluez: add /usr/bin/bluepin (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 03 18:54:18 2017 +0200 (2017-04-03) |
parents | 69faca221dde |
children | c42b4a58182a |
files | bluez/receipt |
line diff
1.1 --- a/bluez/receipt Mon Apr 03 17:30:48 2017 +0200 1.2 +++ b/bluez/receipt Mon Apr 03 18:54:18 2017 +0200 1.3 @@ -70,7 +70,7 @@ 1.4 [ -s $1/usr/bin/bluepin ] || cat > $1/usr/bin/bluepin <<EOT 1.5 #!/bin/sh 1.6 1.7 -PIN:\$(printf "%04d\n" \${1:-$(($RANDOM%10000))}) 1.8 +printf "PIN:%04d\n" \${1:-$(($RANDOM%10000))} 1.9 EOT 1.10 chmod +x $1/usr/bin/bluepin 1.11 }