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