wok diff ppp/stuff/ppp.cgi @ rev 24736

updated libev and libev-dev (4.31 -> 4.33)
author Hans-G?nter Theisgen
date Wed Mar 16 09:25:45 2022 +0100 (2022-03-16)
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	Wed Mar 16 09:25:45 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}