#!/bin/bash # update-all version #VERSION# # updates all clients defined in #ETCDIR#/update-all.conf via local versions of update-me . #ETCDIR#/update-all.conf for system in "${systems[@]}" do if [ "${system}" == "localhost" ] then cmd="" else cmd="ssh -t -t ${system}" fi cmd="${cmd} update-me" urxvt -title "${system}: update-me" -e ${cmd} & done