123456789 |
- STORESERVER='http://127.0.0.1:28080/config/storeserver.php'
- function update_conf() {
- curl -s -F action=LIST_STORE -F store_server_name=%de% -F format=cfg ${STORESERVER} \
- | grep -E '^Attr.*' | sed "s/.*='//; s/'$//" \
- | awk -F'/' '$1 == "job" {printf(" download %s\n", $2)}' \
- | xargs echo './job' \
- | bash
- }
|