#!/bin/sh


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

	if [ -z "${CNXT_NOAUTOCONFIG}" ]; then
        	@CNXTSBINDIR@/@CNXTTARGET@config --remove
	else
        	exit 0
	fi
fi

exit 0
