ianw1974 Posted March 20, 2006 Report Share Posted March 20, 2006 The following command enables http proxy: export http_proxy="info here:port" I want to be able to get this automatically added at bootup. I know gentoo uses the ethernet config in /etc/conf.d/net and wondered if I add it here, or, in another file somewhere? Environment variables? Quote Link to comment Share on other sites More sharing options...
paul Posted March 20, 2006 Report Share Posted March 20, 2006 at a guess I would say /etc/profile Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 20, 2006 Author Report Share Posted March 20, 2006 I found another way you can do it. You can create a file called /etc/env.d/99local and put the entries you want in there without messing with /etc/profile. Then after: env-update source /etc/profile the "echo $http_proxy" should show it configured correctly after that. Not sure why you would do it this way over than just using /etc/profile. But, it works :P Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.