#!/bin/bash
if [ "$1"_ != _ ]; then
  INT=$1
else
  INT=eth0
fi
sed -i -e '/^PROXY_ENABLED/ s/=".*"$/="yes"/' /etc/sysconfig/proxy
nmcli c down $INT
nmcli c up $INT
