rendered paste body#!/bin/shecho Reconfiguring NTLM-APS ...# sudo dpkg-reconfigure ntlmapsHTTP_PROXY=$(whiptail --title 'Set http_proxy Environment Variable' --radiolist 'Set or Clear http_proxy variable' 0 76 0 'Set' "http_proxy to point to NTLM-$echoif [ $? -eq 0 ]; then if [ "$HTTP_PROXY" == "Set" ]; then echo Setting http_proxy to http://localhost:$(sudo grep LISTEN_PORT /etc/ntlmaps/server.cfg|cut -d' ' -f2) export http_proxy=http://localhost:$(sudo grep LISTEN_PORT /etc/ntlmaps/server.cfg|cut -d' ' -f2) else echo clearing value for http_proxy... fielse echo "http_proxy will not be changed. (currently http_proxy=$http_proxy)"fi