3 # Invalidate /etc/rmtab entries for hosts named.
4 # Restart mountd for changes to take effect.
6 # usage: fixrmtab host1 host2 ...
8 # Package: am-utils-6.0
9 # Author: Andreas Stolcke <stolcke@icsi.berkeley.edu>
16 if [ ! -f /etc
/rmtab
]; then
22 sed -e '/^'$host':/s/^./#/' $RMTAB > $TMP && cp $TMP $RMTAB