#!/bin/sh


if [ "$1" = "remove" -o "$1" = "upgrade" ]; then
	if [ -L /usr/doc/dgcmodem ]; then
		rm -f /usr/doc/dgcmodem
	fi

	if [ -z "${CNXT_NOAUTOCONFIG}" ]; then
        	/usr/sbin/dgcconfig --remove
	else
        	exit 0
	fi
fi

exit 0
