fix

1. tmp file will be in /nas/tmp/
2. change "date" formating
3. change func "do_reboot"  content and stopAllSvc script
4. using "need_reboot"  variable to see if need reboot.
5. fine tune some log formating.