0

I tried using some code to reset my proxy back to all 0's. It seems that I didn't put in the proper variables and now my environment won't load

if [ $(id -u) -ne 0 ]; then
  echo "This script must be run as root";
  exit 1;
fi

gsettings set org.gnome.system.proxy mode 'none' ;

grep PATH /etc/environment > lol.t;
cat lol.t > /etc/environment;

printf "" > /etc/apt/apt.conf.d/95proxies;

rm -rf lol.t;

I put this code in and now after I login all I get is a nice long look at my background, but nothing else. What do?

mikewhatever
  • 32,638
Mike Fox
  • 1
  • 2

0 Answers0