Bingo. Can you change those two lines to:
echo "$bios_list" | grep -q "^Mode .* $panelsize," && exit 0
and:
$PROG $m $(echo $resolution | tr x ' ')
and let me know if that improves it.
Bingo. Can you change those two lines to:
echo "$bios_list" | grep -q "^Mode .* $panelsize," && exit 0
and:
$PROG $m $(echo $resolution | tr x ' ')
and let me know if that improves it.