diff --git a/switchconf.sh b/switchconf.sh index 192e5fb..b014540 100755 --- a/switchconf.sh +++ b/switchconf.sh @@ -1,19 +1,6 @@ #!/bin/bash -VALID_CONFIGS=( - "comred" - "peter" - "feedc0de" - "mick" - "greyhash" - "nofeatures" - "allfeatures" - "seatbot" - "gernot" - "comred_new" - "aveexy" - "testdevice" -) +VALID_CONFIGS=($(ls configs/ | grep ".cmake" | sed 's/config_//;s/.cmake//')) print_usage() { echo "usage: ./switchconf.sh ${VALID_CONFIGS[@]}"