Browse Source

Update reboot_phones.sh

FusionPBX 2 years ago
parent
commit
5cfff5ac91
1 changed files with 2 additions and 2 deletions
  1. 2 2
      debian/resources/reboot_phones.sh

+ 2 - 2
debian/resources/reboot_phones.sh

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