1#!/bin/bash
2#
3# config: 5 1
4# @brief: Move the ramoops data file to the dreport packaging.
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="Ramoops file"
10
11for path in ${optional_path}/*
12do
13    if [ -f $path ]; then
14        # Remove the file from path after successful copy
15        if add_copy_file "$path" "$desc"; then
16            rm "$path"
17        fi
18    fi
19done
20