From 00dfd930ac42b6e9134f98cbadcbfa184488c2ac Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 26 Apr 2021 17:24:20 -0400 Subject: [PATCH] SBC process --- java_console/bin/switch_bundle.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 java_console/bin/switch_bundle.sh diff --git a/java_console/bin/switch_bundle.sh b/java_console/bin/switch_bundle.sh new file mode 100644 index 0000000000..aedf90d145 --- /dev/null +++ b/java_console/bin/switch_bundle.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# +# switch from one kind of bundle to another, for instance from microRusEFI to Hellen72 +# + +if [ -z "$1" ]; then + echo "New bundle name expected" + exit 1 +fi + +BUNDLE=$1 + +echo $BUNDLE > bundle_name.txt + + +rm -rf rusefi*bin +rm -rf rusefi*hex +rm -rf rusefi*dfu +rm -rf rusefi*ini \ No newline at end of file