#!/bin/sh
#
#     tiger - A UN*X security checking system
#     Copyright (C) 1993 Douglas Lee Schales, David K. Hess, David R. Safford
#
#     Please see the file `COPYING' for the complete copyright notice.
#
# UNICOS/gen_export_sets - 06/14/93
#
#-----------------------------------------------------------------------------
#

[ -r /etc/exports ] && {

# NOTE!: embedded tabs -- don't delete!
  $GREP -v '^#' /etc/exports | $SED 's/\\\n/:/' | $SED 's/[	 ]\([a-zA-Z]\)/\	 -access=\1/g' > $WORKDIR/etc_exports.$$
#  $GREP -v '^#' /etc/exports > $WORKDIR/etc_exports.$$
  echo "/etc/exports" > $WORKDIR/etc_exports.$$.src
  echo $WORKDIR/etc_exports.$$
}
