From 8aa1d2147b3125abadfc82885e9343eb7ef60a29 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 9 Nov 2022 19:52:26 -0700 Subject: [PATCH] Update reboot_phones.sh --- debian/resources/reboot_phones.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/resources/reboot_phones.sh b/debian/resources/reboot_phones.sh index 8480d34..119cc79 100755 --- a/debian/resources/reboot_phones.sh +++ b/debian/resources/reboot_phones.sh @@ -26,6 +26,7 @@ INPUT=$FILE do #option reboot all phones if [ ."$domain" = ."all" ]; then + echo "reboot: $reg_user@$realm $vendor\n" eval 'fs_cli -x "luarun app.lua event_notify internal reboot $reg_user@$realm $vendor"' if [ "$pausetime" > 0 ]; then sleep $pausetime @@ -33,7 +34,9 @@ do fi #option reboot phones on a specific domain if [ ."$realm" = ."$domain" ]; then + echo "reboot: $reg_user@$realm $vendor\n" eval 'fs_cli -x "luarun app.lua event_notify internal reboot $reg_user@$realm $vendor"' + echo "" if [ "$pausetime" > 0 ]; then sleep $pausetime fi