Update autodev.sh

This commit is contained in:
tteckster 2022-01-13 18:36:32 -05:00 committed by GitHub
parent d56134fe4c
commit ee94f10c2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,16 +37,8 @@ function cleanup() {
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
CHAR_DEVS+=("1:1")
CHAR_DEVS+=("4:\([3-9]\|[1-5][0-9]\|6[0-3]\)")
CHAR_DEVS+=("4:\(6[4-9]\|[7-9][0-9]\|1[0-9][0-9]\|2[0-4][0-9]\|25[0-5]\)")
CHAR_DEVS+=("10:200")
CHAR_DEVS+=("116:.*")
CHAR_DEVS+=("166:.*")
CHAR_DEVS+=("180:\([0-9]\|1[0-5]\)")
CHAR_DEVS+=("188:.*") CHAR_DEVS+=("188:.*")
CHAR_DEVS+=("189:.*") CHAR_DEVS+=("189:.*")
CHAR_DEVS+=("24[0-2]:.*")
for char_dev in ${CHAR_DEVS[@]}; do for char_dev in ${CHAR_DEVS[@]}; do
[ ! -z "${CHAR_DEV_STRING-}" ] && CHAR_DEV_STRING+=" -o" [ ! -z "${CHAR_DEV_STRING-}" ] && CHAR_DEV_STRING+=" -o"