Telefonní systém kosmické lodi Hipporion ze SKSP2019
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
242 B

4 years ago
#!/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"