From 8f6d280b3d0a4e188d89b6fdc8400433d4d5cfcf Mon Sep 17 00:00:00 2001 From: xuyan wang <35394786+wayyoungboy@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:36:21 +0800 Subject: [PATCH] Clean rca old *scene.py files (#638) * fix: conf path * fix: conf path * remote_client support strict_host_key_checking * Clean rca old *scene.py files --- rpm/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm/init.sh b/rpm/init.sh index 53599660..16f993a9 100755 --- a/rpm/init.sh +++ b/rpm/init.sh @@ -18,6 +18,10 @@ mkdir -p ${OBDIAG_HOME} && cd ${OBDIAG_HOME} mkdir -p ${OBDIAG_HOME}/check mkdir -p ${OBDIAG_HOME}/log mkdir -p ${OBDIAG_HOME}/display + +# Clean rca old *scene.py files +find "$SOURCE_DIR/rca" -maxdepth 1 -name "*_scene.py" -type f -exec rm -f {} \; + cp -rf ${WORK_DIR}/plugins/* ${OBDIAG_HOME}/