File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ echo "Activating bluetooth pairing mode"
2929
3030sudo hciconfig hci0 sspmode 0
3131
32- echo " Open ${bold} bluetooth settings${normal} on your phone to search for and ${bold} pair${normal} with this device"
33- echo " If you have already paired it on your phone, please unpair it first, then pair again"
34- echo
35-
3632/usr/bin/expect -f /home/pi/omnipy/scripts/bt-expect.sh
3733
3834sudo hciconfig hci0 sspmode 1
@@ -42,8 +38,6 @@ mac=`echo $btdevice | cut -d'(' -f2 | cut -d')' -f1`
4238
4339echo
4440
45- echo " ${bold} Paired with $btdevice .${normal} "
46-
4741echo " addr=$mac " > /home/pi/omnipy/scripts/btnap-custom.sh
4842cat /home/pi/omnipy/scripts/btnap.sh >> /home/pi/omnipy/scripts/btnap-custom.sh
4943sudo cp /home/pi/omnipy/scripts/omnipy-pan.service /etc/systemd/system/
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ sudo systemctl start omnipy-beacon.service
2121sudo systemctl daemon-reload
2222
2323echo
24- echo ${bold} Configuration updated.${normal}
24+ echo Configuration updated.
You can’t perform that action at this time.
0 commit comments