#!/bin/sh # $FreeBSD$ ETCDIR=%%ETCDIR%% ETC_FILES="%%ETC_FILES%%" case $2 in DEINSTALL) for f in ${ETC_FILES} do /usr/bin/cmp -s ${ETCDIR}/${f}.sample \ ${ETCDIR}/${f} \ && /bin/rm -f ${ETCDIR}/${f} done esac