head	1.2;
access;
symbols
	RELENG_3_0_0_RELEASE:1.1.1.1
	amd_6_0a16:1.1.1.1
	COLUMBIA:1.1.1;
locks; strict;
comment	@# @;


1.2
date	98.11.20.05.21.40;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	98.08.23.22.07.21;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.08.23.22.07.21;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Not part of AM-UTILS any longer.  Should be build from fixrmtab.in.
@
text
@#!/bin/sh
#
# Invalidate /etc/rmtab entries for hosts named.
# Restart mountd for changes to take effect.
#
# usage: fixrmtab host1 host2 ...
#
# Package:	am-utils-6.0
# Author:	Andreas Stolcke <stolcke@@icsi.berkeley.edu>

#set -x

RMTAB=/etc/rmtab
TMP=/tmp/rmtab.$$

if [ ! -f /etc/rmtab ]; then
	exit 0
fi

for host in $*
do
	sed -e '/^'$host':/s/^./#/' $RMTAB > $TMP && cp $TMP $RMTAB
done
rm -f $TMP
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Virgin import of AMD (am-utils) v6.0a16
@
text
@@
