#!/bin/bash set -e # variables PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LIB_FILE="/usr/share/lliurex/llxcfg-proxy/llxcfg-proxy.sh" [ -e "$LIB_FILE" ] || exit 1 . ${LIB_FILE} VAR_LIST="PROXY_HTTP_PORT PROXY_HOST WWW_PATH PROXY_PATH SRV_IP SRV_NETWORK SRV_DOMAIN SRV_MASK" # lee variables eval `/usr/sbin/llxcfg-showvars ${VAR_LIST}` # funciones gen_proxy_pac() { cat <