collect logs
This commit is contained in:
parent
761105d337
commit
9271aeb39a
2 changed files with 48 additions and 0 deletions
11
flash.sh
11
flash.sh
|
|
@ -20,4 +20,15 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
echo "collecting logs"
|
||||
|
||||
dir="./logs/$(date +"%Y%m%d_%H%M%S")-zeroize"
|
||||
|
||||
mkdir -p "$dir"
|
||||
|
||||
touch "$dir/zeroize"
|
||||
|
||||
cp "./serve/config.txt" "$dir/"
|
||||
cp ./flash.sh "$dir"
|
||||
|
||||
echo "finished"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue