dmhs_dt.sh used to detect if it is exit