#!/bin/csh -f # cleans up the NFS server state files # Kevin Inscoe - 2/23/99 # set FILES = (/etc/sm /etc/sm.bak /etc/state /etc/rmtab /etc/xtab) # do it /bin/echo $0 ": unexporting all filesystems" /usr/sbin/exportfs -au foreach f ( $FILES ) /bin/echo $0 ": Removing" $f /bin/rm -rf $f end