modified some code in term control & ftp upgrade
finish PARARST & restore factory when you are factory state