Different location for hosts file

This commit is contained in:
Bradley M. Kuhn 2011-10-20 09:25:10 -04:00
parent 3ddc23d135
commit b9c8a8740d

View file

@ -1,10 +1,11 @@
#!/bin/sh #!/bin/sh
# Written by Denver Gingerich, downloaded from: # Written by Denver Gingerich (ossguy), downloaded from:
# wget http://ossguy.com/bandwidth/ping_trace_all.sh # wget http://ossguy.com/bandwidth/ping_trace_all.sh
# Denver told me: # Denver told me:
# <denver> and I license it to you CC0 # <denver> and I license it to you CC0
# I made minor modifications to this, also licensed CC0 -- bkuhn@ebb.org
for host in `cat ../bin/hosts` for host in `cat ../hosts`
do do
echo tracepath $host... echo tracepath $host...
echo \$ tracepath $host > tracepath_$host echo \$ tracepath $host > tracepath_$host