#!/bin/sh

PKG_ROOT_PATH="/usr/local/zy-pkgs"

needreset=`cat /tmp/PKG_RESET|grep -i Tftp`
if [ "${needreset}" != "" ]; then
	echo "rm -f ${PKG_ROOT_PATH}/config/Tftp/*" > /dev/console
	rm -f ${PKG_ROOT_PATH}/config/Tftp/*
fi

/usr/local/zy-pkgs/etc/init.d/Tftp stop
