mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-21 21:45:39 +08:00
Update scripts.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user