12 lines
242 B
Bash
Executable file
12 lines
242 B
Bash
Executable file
#!/bin/bash
|
|
|
|
vol=9
|
|
|
|
|
|
cd /opt/ksp
|
|
. config.txt
|
|
ip_prefix=${server_ip%.*}
|
|
./hangup_all.sh
|
|
sleep 1
|
|
cat phones.txt | awk '{print $1}' | grep '^[2-5]' | xargs -i -n1 -P0 ./admin_scripts/normalize_volume.pl "$ip_prefix.{}" "$telnet_pass" "$vol"
|
|
|