PREIN
/bin/sh
#grep "^coda" /proc/mounts > /dev/null 2>&1
#if [ $? = 0 ]; then
# echo "*** Coda is mounted: cannot install ***"
# exit 1
#else
# exit 0
#fi
PREUN
/bin/sh
/usr/share/rpm-helper/del-service coda-debug $1 venus
#rm -rf /dev/cfs0
#grep "^coda" /proc/mounts > /dev/null 2>&1
#if [ $? = 0 ]; then
# echo "*** Coda is mounted: cannot uninstall ***"
# exit 1
#else
# exit 0
#fi
POSTIN
/bin/sh
/usr/share/rpm-helper/add-service coda-debug $1 venus
#mknod /dev/cfs0 c 67 0
#if [ -e /usr/coda/venus.cache/pid ]; then
# rm -f /usr/coda/venus.cache/pid
#fi
#if [ ! -e /etc/coda/venus.conf ]; then
# /usr/sbin/venus-setup testserver.coda.cs.cmu.edu 100000
#fi