Update scripts.

This commit is contained in:
Jonathan Naylor
2020-04-23 21:36:43 +01:00
parent 6be27b3759
commit 8e75b2453b
12 changed files with 62 additions and 41 deletions

View File

@@ -3,6 +3,14 @@
source /opt/script/script.conf
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1>/var/log/script/checkBMAPI.log 2>&1
#check BM API
@@ -121,7 +129,8 @@ check_if_nothing_linked_slot2(){
}
while :
do
check_BM_API
echo
$checkslot1
@@ -129,10 +138,5 @@ $checkslot2
$slot1notlinked
$slot2notlinked
echo
sleep $slowdown
/bin/bash /opt/script/relink-hotspot.sh >> /var/log/script/checkBMAPI.log 2>&1
sleep $slowdown
done