consolidate configurations
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ copy_to_tftp() {
|
||||
}
|
||||
|
||||
select_device() {
|
||||
AVAILABLE_DEVICES=$(find common devices -name *_defconfig | sort | cut -d/ -f5)
|
||||
AVAILABLE_DEVICES=$(find devices -name *_defconfig | sort | cut -d/ -f5)
|
||||
cmd="whiptail --title \"Available devices\" --menu \"Please select a device from the list below:\" 20 70 12"
|
||||
for p in ${AVAILABLE_DEVICES//_defconfig}; do cmd="${cmd} \"$p\" \"\""; done
|
||||
DEVICE=$(eval "${cmd} 3>&1 1>&2 2>&3")
|
||||
|
||||
Reference in New Issue
Block a user