fix symlink bug in entry_ls
make entry_q rpm compatible
make factory_status.sh rpm compatible
make mail_report.sh rpm compatible
make mail_infosys.sh rpm compatible