| # (c) Copyright Darren Reed 2000 |
| # Source control script environment |
| UTILS="/usr/lbin/sw/control_utils" |
| if [[ ! -f $UTILS ]] ; then |
| echo "ERROR: Cannot find $UTILS" |
| CONTRIBDIR=/usr/contrib/ipf |
| # Create directories so that installation can take place |
| if [[ ! -d ${ETCDIR} ]]; then |
| mkdir -m 755 -p ${ETCDIR} |
| for i in ipf.conf ipnat.conf; do |
| if [[ ! -d ${CONTRIBDIR} ]]; then |
| mkdir -m 755 -p ${CONTRIBDIR} |
| for i in bin man include examples; do |
| if [[ ! -d ${CONTRIBDIR}/$i ]]; then |
| mkdir -m 755 -p ${CONTRIBDIR}/$i |