You are not logged in.

#1 2016-02-18 15:50:49

adalfovo
Member
Registered: 2016-02-18
Posts: 1

nm-dispatcher cannot set enviroment variables

Hi,
I'm new with ArchLinux. I write an easy script to set automatically the proxy environments.
Unfortunately when my pc is ready my environment aren't not setted.

This is my script

#!/bin/sh -e

SSID=`iwgetid -r`

if [ $SSID="MY_NETWORK" ]; then

  export http_proxy='http://proxy.local:3128'
  set http_proxy="http://proxy.local:3128"

fi

Could somebody help me?

Offline

Board footer

Powered by FluxBB