aboutsummaryrefslogblamecommitdiffstats
path: root/radharc/radharc
blob: 6b32699c009e370adc02c675a36a054f728fe1da (plain) (tree)
1
2
3
4
5
6
7
8
9
10

           
                                      
                                                                  
                                   




                                                             


                                                  
#!/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 "$@"