apache-balancer.sh p_� nU P ^ nU #! /bin/sh # Set up a default search path PATH="/usr/bin:/bin" CURL=`which curl` if [ -z "$CURL" ]; then echo "curl not found" exit 1 fi server="localhost" port="80" manager="balancer-manager" while getopts "s:p:m:" opt; do case "$opt" in s) server=$OPTARG ;; p) port=$OPTARG ;; m) manager=$OPTARG ;; esac done shift $(($OPTIND - 1)) action=$1 list_balancers() { $CUR