wok diff ppp/stuff/ppp.cgi @ rev 25500
new default version for java8-jre
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 30 10:14:12 2022 +0100 (22 months ago) |
parents | fa8eccc0015a |
children |
line diff
1.1 --- a/ppp/stuff/ppp.cgi Sun Feb 16 19:19:37 2020 +0100 1.2 +++ b/ppp/stuff/ppp.cgi Fri Dec 30 10:14:12 2022 +0100 1.3 @@ -126,7 +126,11 @@ 1.4 [ -n "$(pidof dbus-daemon)" ] || /etc/init.d/dbus start 1.5 [ -n "$(pidof bluetoothd)" ] || bluetoothd 1.6 grep -qs btusb /proc/modules || !modprobe btusb || sleep 1 1.7 - [ -n "$(which bluetoothctl)" ] && bluetoothctl power on 1.8 + if [ -n "$(which bluetoothctl)" ]; then 1.9 + bluetoothctl power on 1.10 + bluetoothctl pairable on 1.11 + bluetoothctl scan on 1.12 + fi 1.13 hcitool scan | grep : | while read dev name; do 1.14 set -- $dev "$name" $(sdptool browse $dev | awk ' 1.15 /Service Class ID List/ {n=0}