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.

6 lines
303 B

pass=`sed -n 's/telnet_pass=//p' config.txt`
ip=`sed -n 's/server_ip=//p' config.txt | sed 's/\.[0-9]*$//'`
for i in `cat phones.txt | grep -v backup | grep -v \- | sed -n 's/^\([0-9][0-9]\).*/\1/p'`; do
admin_scripts/ "$ip.$i" "$pass" 2>&1 | sed '/^$/d' | sed "s/^/$i: /"