Skip to content

Commit bae4ba6

Browse files
committed
script var fixes
1 parent 253910e commit bae4ba6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

scripts/bt-setup.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ echo "Activating bluetooth pairing mode"
2929

3030
sudo 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

3834
sudo hciconfig hci0 sspmode 1
@@ -42,8 +38,6 @@ mac=`echo $btdevice | cut -d'(' -f2 | cut -d')' -f1`
4238

4339
echo
4440

45-
echo "${bold}Paired with $btdevice.${normal}"
46-
4741
echo "addr=$mac" > /home/pi/omnipy/scripts/btnap-custom.sh
4842
cat /home/pi/omnipy/scripts/btnap.sh >> /home/pi/omnipy/scripts/btnap-custom.sh
4943
sudo cp /home/pi/omnipy/scripts/omnipy-pan.service /etc/systemd/system/

scripts/pi-update-finalize.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ sudo systemctl start omnipy-beacon.service
2121
sudo systemctl daemon-reload
2222

2323
echo
24-
echo ${bold}Configuration updated.${normal}
24+
echo Configuration updated.

0 commit comments

Comments
 (0)