Compare commits

..

No commits in common. 'any-user_fuctionally' and 'master' have entirely different histories.

@ -45,8 +45,8 @@ while read host <&3; do
connect_cmd="ssh -t" connect_cmd="ssh -t"
host_short=`echo ${host} | awk -F. '{print $1}'` host_short=`echo ${host} | awk -F. '{print $1}'`
if echo $zone_xfer | grep $host | grep TXT; then if echo $zone_xfer | grep $host | grep TXT; then
if [ "`echo $zone_xfer | grep $host | grep TXT | awk '$3 ~ /^"log/ {print $3}'`" ]; then if [ "`echo $zone_xfer | grep $host | grep TXT | awk '{print $3}'`" = '"logroot"' ]; then
user_name=$(echo $zone_xfer | grep $host | grep TXT | awk '$3 ~ /^"log/ {print $3}' | sed 's/^"log//' | tr -d '"') user_name="root"
get_hostip ${host} get_hostip ${host}
alias ${host_short}="${connect_cmd} ${user_name}@${host_ip}" alias ${host_short}="${connect_cmd} ${user_name}@${host_ip}"
elif [ "`echo $zone_xfer | grep $host | grep TXT | awk '{print $3}'`" = '"windows"' ]; then elif [ "`echo $zone_xfer | grep $host | grep TXT | awk '{print $3}'`" = '"windows"' ]; then

Loading…
Cancel
Save