diff options
Diffstat (limited to 'setup-proxy.in')
-rw-r--r-- | setup-proxy.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/setup-proxy.in b/setup-proxy.in index 6b0d978..4d62ea0 100644 --- a/setup-proxy.in +++ b/setup-proxy.in @@ -13,14 +13,13 @@ fi echon "name of proxyserver ? (e.g proxy.domain.loc:8080) [$proxyserver] " default_read proxyserver $proxyserver -echo $proxyserver | grep ":" >/dev/null -if [ "$?" = "1" ] ; then +if echo $proxyserver | grep -q ":"; then echon "port of proxyserver ? [8080] " default_read proxyport "8080" proxyserver=$proxyserver:$proxyport fi -if [ "$proxyuser" = "" ] ; then +if [ "$proxyuser" = "" ] ; then needauth="no" else needauth="yes" |