All pastes #367020 Raw Edit

Stuff

public shellscript v1 · immutable
#367020 ·published 2007-02-22 01:47 UTC
rendered paste body
...# Check whether --with-firewall or --without-firewall was given.if test "${with_firewall+set}" = set; then  withval="$with_firewall" FWALLSDIR="/my/path" && case "${withval}" in     pf)        cp $(FWALLSDIR)/command_pf.h $(FWALLSDIR)/command.h        usepf=true        ;;     ipfw)      useipfw=true ;;     iptables)        cp $(FWALLSDIR)/command_iptables.h $(FWALLSDIR)/command.h        useiptables=true        ;;     *)        echo "Choose a valid firewall backend (see --help)"        exit 1        ;;    esacelse  { { echo "$as_me:$LINENO: error: Error: please choose a valid firewall backend (see --help)" >&5echo "$as_me: error: Error: please choose a valid firewall backend (see --help)" >&2;}   { (exit 1); exit 1; }; }    fi;...