workan on da changeport
This commit is contained in:
@@ -19,16 +19,15 @@ function subprocess() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sel=$tty+1
|
sel=$tty+1
|
||||||
eval "$1=${devarr[$sel]}"
|
ret="${devarr[$sel]}"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -z "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
ret="$1"
|
ret="$1"
|
||||||
else
|
else
|
||||||
ret=''
|
ret=""
|
||||||
subprocess ret
|
subprocess
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export ESPPORT="$ret"
|
export ESPPORT="$ret"
|
||||||
|
|||||||
Executable → Regular
Reference in New Issue
Block a user