X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=7de8245c50268dd67c5c23dc38cc491bfeb68781;hp=58c137fd37b61b1d3ecd7970d605b85cdeb9aeaf;hb=8612086e4ec97f2d2cb355b08a05e5d85689ef86;hpb=19f61c3ab1e3012983c24037dac39ba38721633e diff --git a/.bashrc b/.bashrc index 58c137f..7de8245 100644 --- a/.bashrc +++ b/.bashrc @@ -207,7 +207,9 @@ unset cpus # as Sun workaround as Debian misses: /etc/termcap # expects: $uname_p [ "$TERM" = vt220 -a "${uname_p%86}" != "$uname_p" ] && export TERM=linux -if grep 2>/dev/null -q '^..............:0C38 00000000:0000 0A ' /proc/net/tcp;then +if grep 2>/dev/null -q '^..............:0C38 00000000:0000 0A ' /proc/net/tcp \ +|| grep 2>/dev/null -q '^....: 00000000000000000000000000000000:0C38 00000000000000000000000000000000:0000 0A ' /proc/net/tcp6 \ +;then export http_proxy=http://127.0.0.1:3128/ export https_proxy=http://127.0.0.1:3128/ export ftp_proxy=http://127.0.0.1:3128/