1 2 3 4 5 6 7 8
#!/bin/bash cd $(dirname $0) dir=${1} shift while :; do ${dir}/setiathome "$@" wait $? done