Update reboot_phones.sh

This commit is contained in:
FusionPBX 2022-11-09 19:54:19 -07:00 committed by GitHub
parent 4820a39b79
commit 5cfff5ac91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ INPUT=$FILE
do
#option reboot all phones
if [ ."$domain" = ."all" ]; then
echo "reboot: $reg_user@$realm $vendor"
echo "$reg_user@$realm $vendor"
eval 'fs_cli -x "luarun app.lua event_notify internal reboot $reg_user@$realm $vendor"'
if [ "$pausetime" > 0 ]; then
sleep $pausetime
@ -34,7 +34,7 @@ do
fi
#option reboot phones on a specific domain
if [ ."$realm" = ."$domain" ]; then
echo "reboot: $reg_user@$realm $vendor"
echo "$reg_user@$realm $vendor"
eval 'fs_cli -x "luarun app.lua event_notify internal reboot $reg_user@$realm $vendor"'
echo ""
if [ "$pausetime" > 0 ]; then