Update reboot_phones.sh
This commit is contained in:
parent
4820a39b79
commit
5cfff5ac91
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue