#!/bin/dash if test -r ~/.config/geolocation; then location="-L $(head -n1 ~/.config/geolocation | tr ' ' :)" elif test -r /etc/geolocation; then location="-L $(head -n1 /etc/geolocation | tr ' ' :)" elif test $# = 0; then exec /usr/bin/radharc -t 5500 else exec /usr/bin/radharc "$@" fi exec /usr/bin/radharc $location -l3500 -h5500 "$@"