export APPHOME_PATH="/home/root/rtu_linux_modules"
export APPBINS_PATH="${APPHOME_PATH}"
export APPLIBS_PATH="${APPHOME_PATH}/lib"
export APPRUNS_PATH="${APPHOME_PATH}/status"

# 导出运行时库
export LD_LIBRARY_PATH=${APPLIBS_PATH}

# 重置海康相机(1200W海康U口相机在RTU板子上冷启动时, 需要先重置相机, 才能正常工作)
HKCAM_RESET="${APPBINS_PATH}/hkcam_reset.out"
if [ -e "$HKCAM_RESET" ]; then
  chmod a+x "$HKCAM_RESET"
  "$HKCAM_RESET"
  sleep 5
fi
